How can I determine who has clicked Facebook like button and then not display like button to him?
-
I am working on facebook application. I have put like widget on one of the page. I don't want to show like button, if user has already clicked like button. How can this be done ?
-
Answer:
If the user has authorized your application to access their information, you can do it with the pages.isFan api call: http://developers.facebook.com/docs/reference/rest/pages.isFan If you're using FBML, you can use fb:visible-to-connection: http://developers.facebook.com/docs/reference/fbml/visible-to-connection If it's a Like button on an external site, you could try the suggestion posted in this stackoverflow thread to register a javascript callback for edge.create: http://stackoverflow.com/questions/2798622/facebook-like-button-callback In your javascript callback function, you could set a cookie and then not render the like button next time around if that cookie exists.
Rob Marscher at Quora Visit the source
Related Q & A:
- How can I upload pictures directly from Facebook to MySpace?Best solution by answers.yahoo.com
- How can I view private photos in facebook?Best solution by Yahoo! Answers
- How can I make a website like facebook for free?Best solution by eHow old
- How can I rejoin a network on Facebook?Best solution by answers.yahoo.com
- How can I figure out why my Facebook was disabled?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.