tconley79 — 2012-05-22T10:29:03-04:00 — #1
I have a question regarding "liking" a web page outside of facebook.
I am familiar with placing a like button on an external web page -- I've done this for clients many times. However, I have a new client who wants a "Like" button, but also wants to know if the current visitor as already "liked" the page so he can display more content on his website. For example, for normal visitors, his web page displays 3 helpful hints. But if the user has "liked" the page, then the web page displays 10 more hints.
Thanks in advance for any help!
logic_earth — 2012-05-23T19:52:34-04:00 — #2
No....unless you ask Facebook or what ever this "liked" button is for...assuming Facebook would even tell you.
ted_s — 2012-05-23T21:01:58-04:00 — #3
If you bring Facebook connect into the mix to authenticate visitors you can retrieve, and parse, a list of the pages they have liked. By comparing these to the ID of the page in question you can figure out if there's an existing connection.
http://developers.facebook.com/docs/reference/api/ click on "likes"
system — 2012-05-24T05:50:03-04:00 — #4
For this, you could have admin permission from fb which u can not get, rest u can see on insights of your page.
tconley79 — 2012-05-24T08:37:42-04:00 — #5
Hi all. Thanks for your replies. Pretty much what I thought.
Although I have noticed that if I like a page and then come back later to that particular site, the like box says "liked" (if I am already logged into facebook). Is there a way the rest of the page can use this info and not just the Facebook widget??
ted_s — 2012-05-24T12:46:45-04:00 — #6
You don't need admin rights to know what a user likes, you need their rights.
See the link I posted previously and click the likes section to see everything you liked -- as any app that's authenticated to you can do.
mittineague — 2014-09-16T21:51:48-04:00 — #7
This topic is now archived. It is frozen and cannot be changed in any way.