javascript - How to add a Facebook page-plugin on to Weebly? -
i have tried code copying both portions 'embed code' widget , came name 'perfectly posh'.
<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/sdk.js#xfbml=1&version=v2.3"; fjs.parentnode.insertbefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-page" data-href="https://www.facebook.com/pages/perfectly-posh/765054396873623" data-width="300" data-height="500" data-small-header="true" data-adapt-container-width="false" data-hide-cover="false" data-show-facepile="false" data-show-posts="true"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/pages/perfectly-posh/765054396873623"><a href="https://www.facebook.com/pages/perfectly-posh/765054396873623">perfectly posh</a></blockquote></div></div>
i tried code in different embed code widget used iframe, top of facebook page. believe facebook page works, hidden somehow.
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3a%2f%2fwww.facebook.com%2fpages%2fperfectly-posh%2f765054396873623&width=600&colorscheme=light&show_faces=true&border_color&stream=true&header=true&height=435" scrolling="yes" style="border:none; overflow:hidden; width:600px; height:430px; background: white; float:left; " allowtransparency="true" frameborder="0"></iframe>
lastly, tried feed reader widget , got error. feed work, not on weebly.
https://www.facebook.com/feeds/page.php?format=rss20&id=765054396873623
facebook social plugin doesn't work on iframe. old question.
Comments
Post a Comment