embed facebook feed into website code example

Example 1: Embed Facebook feed into website

js.src = "https://connect.facebook.net/ru_RU/sdk.js#xfbml=1&version=v2.5";

Example 2: Embed Facebook feed into website

<div class="fb-page"
data-href="https://www.facebook.com/imdb" 
data-width="340"
data-hide-cover="false"
data-show-facepile="true"></div>

Example 3: Embed Facebook feed into website

<div style="width: 190px;">
<!-- Page plugin's width will be 190px -->
<div class="fb-page" data-href="{url}" data-width="420"></div>
</div>

Example 4: Embed Facebook feed into website

<div class="fb-page" 
data-tabs="timeline,events,messages"
data-href="https://www.facebook.com/YoloBookStore"
data-width="380" 
data-hide-cover="false"></div>

Example 5: Embed Facebook feed into website

<div style="width: 100px;">
<!-- Page plugin's width will be 180px -->
<div class="fb-page" data-href="{url}" data-width="320"></div>
</div>

Example 6: Embed Facebook feed into website

<div style="width: 600px;">
<!-- Page plugin's width will be 500px -->
<div class="fb-page" data-href="{url}" data-width="500"></div>
</div>

Example 7: Embed Facebook feed into website

<div class="fb-page" 
data-href="https://www.facebook.com/facebook"
data-width="380" 
data-hide-cover="false"
data-show-facepile="false"></div>

Tags:

Html Example