code posting

Thanks to hilite.me for the source code beautifier tool.

This code is from the Page Plugin by Facebook.

At the top of the page, just after the body tag:

1
2
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v22.0"></script>

Where the block is wanted:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<div class="fb-page"
 data-adapt-container-width="true"
 data-height=""
 data-hide-cover="false"
 data-href="https://www.facebook.com/facebook"
 data-show-facepile="true"
 data-small-header="false"
 data-tabs="timeline"
 data-width=""><blockquote
 cite="https://www.facebook.com/facebook"
 class="fb-xfbml-parse-ignore"><a
 href="https://www.facebook.com/facebook">Facebook</a></blockquote></div>
 

Comments