Embedding

MkPaul

learnt from the best
Joined
Dec 25, 2012
Messages
3,290
Location
Manchester
Would it be possible to use embed codes from Facebook etc in posts on here?

For example:

<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/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-post" data-href="https://www.facebook.com/SPORTbible/posts/473198222825715:0" data-width="466"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/SPORTbible/posts/473198222825715:0">Post</a> by <a href="https://www.facebook.com/SPORTbible">The SPORT Bible</a>.</div></div>

I'm pretty bad at this kind of stuff, more of a question than a request.
 
Would it be possible to use embed codes from Facebook etc in posts on here?

For example:

<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/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-post" data-href="https://www.facebook.com/SPORTbible/posts/473198222825715:0" data-width="466"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/SPORTbible/posts/473198222825715:0">Post</a> by <a href="https://www.facebook.com/SPORTbible">The SPORT Bible</a>.</div></div>

I'm pretty bad at this kind of stuff, more of a question than a request.

What is that embedding exactly?

Facebook embed is supported. I presume it takes a Facebook URL but I just tried https://www.facebook.com/SPORTbible/posts/473198222825715:0 and it didn't work :confused:
 
Full URL, think its only facebook videos Niall. So full posts won't work in the way twitter does.