Possible Duplicate:
Detect Facebook page fan on the website
I have a question to do, can there be a way for a drupal website to recognize if the visitor likes or not a facebook page, without authentication, just by a simple visit?
Thanks..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s already answered as comments but here is why.
If the user hasn’t authenticated with a facebook app you coded, you can not access user information using a server-side script. You can however imaging to use an iframe’d like button and to use Javascript to check the iframe content. It doesn’t work either.
Javascripts has a policy that is doesn’t work through DOMs over different domains.
See http://www.dyn-web.com/tutorials/iframes/refs.php#access
I see another question here which is already closed and I’m not wondering if this happens to this question as well.