How can I add Facebook Comments?
3 posters
Page 1 of 1
How can I add Facebook Comments?
- Code:
<div id="fb-root"></div>
<script>(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script>
<div class="fb-comments" data-href="_________" data-num-posts="5" data-width="500"></div>
i want that facebook comments is everypost...
data-href=
what can i put that code ??
Re: How can I add Facebook Comments?
Double posting back to back with in 24 hours is prohibited on FM Support.Next time please wait for a reply or add any additional content in your previous post via the post edit button.
thank you.
it's not going to be possible.
because you have to have the page link in the FB code.
so whatever link you add in the FB code is going to be the page the comment leads to.
Like say we had the link to this page in the comment code, whoever comments it will lead back to this thread post here on FM support from their FB page.
Example,Comment here then check your FB page it will lead back to this thread.
However you can incorporate the code to a post template and have a link lead back to your forum index or what ever home page you have set, Or lest say you had separate html pages, then you can always add the different link to the html page that way,
thank you.
it's not going to be possible.
because you have to have the page link in the FB code.
so whatever link you add in the FB code is going to be the page the comment leads to.
Like say we had the link to this page in the comment code, whoever comments it will lead back to this thread post here on FM support from their FB page.
Example,Comment here then check your FB page it will lead back to this thread.
- Code:
<div id="fb-root"></div>
<script>(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script>
<div class="fb-comments" data-href="http://help.forumotion.com/t96704-how-can-i-add-facebook-comments" data-num-posts="5" data-width="500"></div>
However you can incorporate the code to a post template and have a link lead back to your forum index or what ever home page you have set, Or lest say you had separate html pages, then you can always add the different link to the html page that way,
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: How can I add Facebook Comments?
i want facebook comments is everypost
what the variable to everypost Facebook comments.. ?
on blogspot this is
<data:post.body/>
like this
<div id="fb-root"></div>
<script>(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script>
<div class="fb-comments" data-href="<data:post.body/>" data-num-posts="5" data-width="500"></div>
if Forumotion, what variable to swap code <data:post.body/>
what the variable to everypost Facebook comments.. ?
on blogspot this is
<data:post.body/>
like this
<div id="fb-root"></div>
<script>(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script>
<div class="fb-comments" data-href="<data:post.body/>" data-num-posts="5" data-width="500"></div>
if Forumotion, what variable to swap code <data:post.body/>
Re: How can I add Facebook Comments?
I won't even get into the page load and scrolling problems you will have if you added fb:comment plugins to every post.
I thought a goal of a discussion board was to generate content. Allowing people to reply outside the confines of your board would seem to be the last thing you would want. I would NEVER put the fb:comments plugin on a board of mine...I want people to reply on my board, not on Facebook!
But if that is truly what you want, you should just tell people to post on the wall of your Facebook page, and not even bother with a forumotion forum. It will save you a lot of time.
I thought a goal of a discussion board was to generate content. Allowing people to reply outside the confines of your board would seem to be the last thing you would want. I would NEVER put the fb:comments plugin on a board of mine...I want people to reply on my board, not on Facebook!
But if that is truly what you want, you should just tell people to post on the wall of your Facebook page, and not even bother with a forumotion forum. It will save you a lot of time.
Guest- Guest
Re: How can I add Facebook Comments?
oke master dion, thanks..
but, i will know variable <data:post.body/> on forumtion
i want everypost with link like your forum
-removed
i will the title of everypost with link, your forum master
but, i will know variable <data:post.body/> on forumtion
i want everypost with link like your forum
-removed
i will the title of everypost with link, your forum master
Re: How can I add Facebook Comments?
Because you posted a screen shot of code from my board, I will not provide any assistance to you in this topic. Sorry.
Guest- Guest
Re: How can I add Facebook Comments?
Solved > Locked
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Similar topics
» Facebook like bar without redirecting to facebook.
» how to change position of the facebook comments code
» Information: Disabling Facebook connect Module + Facebook "Like" Button + Paypal.
» facebook connect doesn't work + facebook share button
» facebook button to connect to facebook page
» how to change position of the facebook comments code
» Information: Disabling Facebook connect Module + Facebook "Like" Button + Paypal.
» facebook connect doesn't work + facebook share button
» facebook button to connect to facebook page
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum