Viewing How do I embed a Facebook page link?
How do I embed a Facebook page link?
|
User: Lester D. 11 years ago
|
|
| Having read the instructions on the Facebook page, to embed a Facebook page on a website, it then gives you 2 sets of codes, but where do I put them in ever web? | |
|
User: Roddy 11 years ago
|
|
|
Paste this part of the code into the Footer Code box in the page inspector... <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_GB/sdk.js#xfbml=1&version=v2.3"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> ... and this into an appropriately sized HTML SNippet widget... <div class="fb-page" data-href="https://www.facebook.com/facebook" data-width="740" data-height="800" data-hide-cover="false" data-show-facepile="true" data-show-posts="true"></div> You will need to publish to the server to see it. Be aware that this method is useless if your site is viewed on an iPad unless the widget is made the full height of the Facebook page. ------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: Steve 11 years ago
|
|
|
Thanks Roddy FB doesn't really make it easy to do this... Is there anyway to create a widget to do this? Thx Steve ------------------------------- MacBook Pro 15in Retina 10.14.6 Nevada, U.S.A Apple since OS 7.1 LE II (pizza box) |
|
|
User: Roddy 11 years ago
|
|
|
It used to be possible to use a simple iframe code but FB has now prevented this.
------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: Steve 11 years ago
|
|
|
Yeah I've recently figured out the code for the FB feed on a site with iFrame... A lot of experimentation! S ------------------------------- MacBook Pro 15in Retina 10.14.6 Nevada, U.S.A Apple since OS 7.1 LE II (pizza box) |
|
|
User: Steve 11 years ago
|
|
|
Also, the code you suggest here works fine on my iPad... Steve ------------------------------- MacBook Pro 15in Retina 10.14.6 Nevada, U.S.A Apple since OS 7.1 LE II (pizza box) |
|
|
User: Roddy 11 years ago
|
|
|
It works on iPad but the window doesn't scroll.
------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: Lester D. 11 years ago
|
|
| Thank you, got it sorted and working ! | |
| Post Reply |
| You must login or signup to post. |
