3
I would like to use the plugin "page" Facebook, but I’m not getting it. After adding this code at the beginning of the tag body
<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/pt_BR/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
and the one at the end tag "body"
<div class="fb-page" data-href="https://www.facebook.com/l2akhilleus/timeline/" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="true">
<div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/l2akhilleus/timeline/"><a href="https://www.facebook.com/l2akhilleus/timeline/">L2Akhilleus</a></blockquote></div></div>
I update the page and does not load or show anything. I went to inspect page element and it returned me this and I do not know how to proceed:
file://connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.5 Failed to load Resource: net::ERR_FILE_NOT_FOUND
I already went to this link and copied all the code and saved in a file, called the code <script type="text/javascript" src="js/sdk.js"></script>
and still does not show the plugin on my page...
Perfect! I put it online and it worked!
– Fillipe