The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Facebook Embed Post

Go down

In progress Facebook Embed Post

Post by ob1 on Wed 28 Aug - 5:08

I saw that this option is now available on FB.  So I grabbed the code and tried to post it on my forumotion site.  It just stayed looking like code.  Sorry I'm such a newb.  Can I get some advice on how to embed FB posts into forum posts?  My site is www.gravitypirates.dust.tv.  THANKS IN ADVANCE!
avatar
ob1
Forumember

Male Posts : 58
Reputation : 0
Language : english
Location : San Diego Ca

http://www.gravitypirates.dust.tv

Back to top Go down

In progress Re: Facebook Embed Post

Post by SLGray on Wed 28 Aug - 6:17

Do you have HTML activated for the whole forum, and do you have it activated in your profile?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 42691
Reputation : 3004
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Facebook Embed Post

Post by ob1 on Wed 28 Aug - 6:29

@SLGray wrote:Do you have HTML activated for the whole forum, and do you have it activated in your profile?
Yes, and yes.
avatar
ob1
Forumember

Male Posts : 58
Reputation : 0
Language : english
Location : San Diego Ca

http://www.gravitypirates.dust.tv

Back to top Go down

In progress Re: Facebook Embed Post

Post by SLGray on Thu 29 Aug - 1:02

Could you post a link to Facebook that describes this feature?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 42691
Reputation : 3004
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Facebook Embed Post

Post by ob1 on Thu 29 Aug - 1:09

Sure, here you go...https://developers.facebook.com/docs/plugins/embedded-posts/.  Thanks for taking a look.
avatar
ob1
Forumember

Male Posts : 58
Reputation : 0
Language : english
Location : San Diego Ca

http://www.gravitypirates.dust.tv

Back to top Go down

In progress Re: Facebook Embed Post

Post by SLGray on Thu 29 Aug - 1:25

Are you getting the code from the post that you want, and is it a public post?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 42691
Reputation : 3004
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Facebook Embed Post

Post by ob1 on Thu 29 Aug - 1:38

Yes, and yes.
avatar
ob1
Forumember

Male Posts : 58
Reputation : 0
Language : english
Location : San Diego Ca

http://www.gravitypirates.dust.tv

Back to top Go down

In progress Re: Facebook Embed Post

Post by SLGray on Thu 29 Aug - 1:45

Please post here the code you are trying to add.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 42691
Reputation : 3004
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Facebook Embed Post

Post by ob1 on Thu 29 Aug - 6:48

@SLGray wrote:Please post here the code you are trying to add.
<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/gravitypirate/posts/695377407157135"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/gravitypirate/posts/695377407157135">Post</a> by <a href="https://www.facebook.com/gravitypirate">Steve Ford</a>.</div></div>
avatar
ob1
Forumember

Male Posts : 58
Reputation : 0
Language : english
Location : San Diego Ca

http://www.gravitypirates.dust.tv

Back to top Go down

In progress Re: Facebook Embed Post

Post by runawayhorses on Thu 29 Aug - 14:10

It won't embed in a post because the code is using javascript, the forum will not accept most javascripts in posts for security reasons, however, it will work fine for an HTML page or a widget.

I tested the code its functioning properly.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 164
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

In progress Re: Facebook Embed Post

Post by ob1 on Fri 30 Aug - 1:02

How would I use it as a widget or html in the forum?  Not sure how that would "show up" or what.  I know, that's a rank newb question.  But I only know what I know.  Thanks for the help so far!
avatar
ob1
Forumember

Male Posts : 58
Reputation : 0
Language : english
Location : San Diego Ca

http://www.gravitypirates.dust.tv

Back to top Go down

In progress Re: Facebook Embed Post

Post by runawayhorses on Fri 30 Aug - 3:57

Watch this video tutorial maybe this will help you.


runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 164
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum