• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Facebook Video

TheSalt

Active member
#1
Hello Gang,

This is kind of a noobie question I'm sure but I couldn't find an explanation that I can understand, my apologies.

I'm trying to learn how to embed Facebook video. and I have no idea how. Below is an example video. Can some explain what info I'm supposed to use from it and how to post it in a thread? I feel like it is this number (10152807149094345) but I don't now how to use it

Many thanks!
Nick

Code from Facebook:
HTML:
<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/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-post" data-href="https://www.facebook.com/frank.aguirre.334/posts/10152807149094345" data-width="466"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/frank.aguirre.334/posts/10152807149094345">Post</a> by <a href="https://www.facebook.com/frank.aguirre.334">Frank Aguirre</a>.</div></div>
Screen Shot 2014-10-22 at 5.38.23 PM.png
 

Brogan

XenForo moderator
Staff member
#3
Facebook is configured as a default media bb code.

You just need to paste the absolute URL into the post and if you have automatic conversion enabled, it will embed.
 

TheSalt

Active member
#4
Yes bt012ss! That is it. When I look at your post I see this number but I don't understand where you got it? I don't see it in the embed link...
Code:
[MEDIA=facebook]950586674958662[/MEDIA]
Facebook is configured as a default media bb code.

You just need to paste the absolute URL into the post and if you have automatic conversion enabled, it will embed.
Hello Brogan. I would need to double check if I have automatic conversion enabled. I searched it on the ACP but nothing came up, can you please point me to where that might be?

Thank you everyone!
 
Last edited:

TheSalt

Active member
#7
Okay I'm still not understanding... What part of the embed code do I use and how do I add it? Using the media tool in the bb toolbar?

Sorry, I'm not understanding.

https://www.facebook.com/frank.aguirre.334/posts/10152807149094345 ???

Code:
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/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-post" data-href="https://www.facebook.com/frank.aguirre.334/posts/10152807149094345" data-width="466"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/frank.aguirre.334/posts/10152807149094345">Post</a> by <a href="https://www.facebook.com/frank.aguirre.334">Frank Aguirre</a>.</div></div>