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

View previous topic View next topic Go down

In progress Facebook Embed Post

Post by ob1 on August 28th 2013, 5:08 am

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!

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 August 28th 2013, 6:17 am

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.


SLGray
Administrator
Administrator

Male Posts : 36648
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Facebook Embed Post

Post by ob1 on August 28th 2013, 6:29 am

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

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 August 29th 2013, 1:02 am

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.


SLGray
Administrator
Administrator

Male Posts : 36648
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Facebook Embed Post

Post by ob1 on August 29th 2013, 1:09 am

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

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 August 29th 2013, 1:25 am

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.


SLGray
Administrator
Administrator

Male Posts : 36648
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Facebook Embed Post

Post by ob1 on August 29th 2013, 1:38 am

Yes, and yes.

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 August 29th 2013, 1:45 am

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.


SLGray
Administrator
Administrator

Male Posts : 36648
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Facebook Embed Post

Post by ob1 on August 29th 2013, 6:48 am

@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>

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 August 29th 2013, 2:10 pm

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 : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

In progress Re: Facebook Embed Post

Post by ob1 on August 30th 2013, 1:02 am

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!

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 August 30th 2013, 3:57 am

Watch this video tutorial maybe this will help you.


runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

View previous topic View next topic Back to top


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