Discussions
Activity
Sign In
How it works
Newscoop Support
Facebook comment
Vote Up
0
Vote Down
George Hadjichristofi
January 2012
Posts: 85
Member
Hello,
I copy the code from facebook an i put on my web site.
the problem is all my comment is the same.
i would like to have different comment per articlel
how to make this?
Post edited by Jakub Górnicki at 2012-01-29 03:38:15
1 Comment
sorted by
Votes
Date Added
Vote Up
0
Vote Down
Tomasz Rondio
January 2012
Posts: 63
Member
You have to set url of active article. Full code looks like this:
<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-comments" data-href="
http://{{ $gimme->publication->site }}{{ uri }}
" data-num-posts="10" data-width="675"></div>
Post edited by Tomasz Rondio at 2012-01-29 07:53:12
Add a Comment
Start a New Discussion
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
8,397
Sourcefabric
↳
Announcements
25
Newscoop
↳
Newscoop Support
2,189
↳
Newscoop Development
722
↳
Newscoop Security
13
↳
Newscoop Documentation
17
↳
Newscoop Themes
69
Airtime
↳
Airtime Support
3,139
↳
Airtime Development
1,286
↳
Airtime Français
146
↳
Airtime Documentation
14
↳
Airtime Hacks
102
↳
Promote your station!
37
↳
Airtime Security
11
Booktype
↳
Booktype Support
277
↳
Booktype Development
55
↳
Booktype Documentation
7
Superdesk
↳
Superdesk Development
264
↳
Web Publisher
21
Poll
No poll attached to this discussion.
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339