Blog / Website Mein Facebook Posts / Status Kaise Embed Kare?

Facebook ne introduce kia hai "embedded posts" feature jisse ap kisi bhi facebook post ko apne website ya blog par embed kar sakte hai. Ap photographs, videos ya fir regular status bhi embed kar sakte hai. Ap ek single line code apne blog mein jorke hi ye kam nipta sakte hai.

how-to-embed-facebook-posts-statuses-into-your-blog-posts

Ap kisi bhi facebook page ya personal profile se kisi bhi status ko embed kar sakte hai. Lekin uske liye content owner ki status visibility "Public" hona compulsory hai.

Ise karne ke liye do upae hai. Ek official tadika aur ek dusra tadika. Mai yaha pe dono tadika bata raha hoon. Apko jo pasand ayega ap use apna sakte hai.

1. Official Method For Embedding Facebook Posts In Blog/Website


Pahle developers.facebook.com link pe jae aur waha pe ap jis facebook status ko embed karna chahte hai uski permalink(URL) ko paste kare aur "Get Code" button hit kare. Ab HTML5 version wale code ko copy kare aur ap apne blog ki jis jagah par us facebook status ko show karana chahte hai waha pe paste kare. Thats it.

2. Embed Code for Embedded Posts


Ap jis facebook status ko embed karna chahte hai use open kare. Ab niche diye gaye codes ko copy kare.
<div id="fb-root"></div>
<script>
(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id))
        return;
    js = d.createElement(s);
    js.id = id;
    js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
    fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-post" data-href="YOUR_URL_HERE"></div>
Ab apne blog/website ke HTML editor mein jake is code ko paste kare.

Customizations


Ap jis facebook status ko embed karna chahte hai us status ki permalink(URL) ko copy kare aur usse "YOUR_URL_HERE" ko replace karde.

Ab save karne pad apke blog/website mein wo facebook status/post embed ho jaegi.

Note: Agar ap Blogger user hai to apne blog posts ke andar facebook status embed karne ke liye ap jis blog post mein embed karna chahte hai use HTML view mein open karke apne pasandida jagah pe codes ko paste karke post update kar sakte hai. Isse apke blogger blog post mein facebook status embed ho jaega.


SHARE THIS

Author:

I'm an 18 years aged Passionate Blogger from West Bengal, India. I just love to write articles and share them with people. The day was 28th September 2015, when my dream of having a website comes true and I made this website to help you and peoples like you!

Previous Post
Next Post