Is there a way I can list the users that are registered on my site and are friends with the authenticated facebook user I have visiting my site?
Sort of like, ‘These are your friends who are already registered to our website’
Any ideas?
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.
You would need to integrate facebook’s graph API, then compare email addresses. You will be forced to have one of those “allow access” forms pop-up from facebook since you’ll need to access at least globally public information from the user’s profile
So you can compare facebook ID’s if the visitor is registered and all the friends who you want to bring up are as well, or compare email addresses if not every user on your site is logging in with facebook. Either way you’re going to be reading the graph API for a little while.
Hope this helped