Facebook like button for a Facebook feed item
Posted
by
jverdeyen
on Pro Webmasters
See other posts from Pro Webmasters
or by jverdeyen
Published on 2011-06-21T08:02:26Z
Indexed on
2011/06/21
8:31 UTC
Read the original article
Hit count: 468
Here is what I do:
When the admin of a website i'm creating adds a new 'news' item to his website, it directly posts the same item on the Facebook 'fanpage' of the website. This is done by an Facebook app with the permissions to post an item on the Facebook fanpage. So far so good. I'm getting the new post id from the facebook graph.
Here is what I want to achieve: I'm adding a 'like' button on the original website, but when this is clicked it should be referenced to the same post item on the facebook page. So if someone likes the news post on the website he should also like the referencing facebook feed post. Which is exactly the same.
Can this be done?
I've been playing around with the href etc of the like button, without any success. When I hit the like button it likes the url given, but is doesn't recognizes that this is a feed post.
Any idea?
Thx in advance.
© Pro Webmasters or respective owner