php - Trouble Accessing Facebook Friends without Login -
i'm trying understand how airbnb able access facebook friend lists without active facebook logged in session. see in action follow link:
https://www.airbnb.com/s/austin?neighborhoods[]=barton+hills
once there, select listing , midway down page find "friends" tab. assuming property owner has facebook friends, should see friend photos , when hover on them, message "xxxxxxxx facebook friend of xxxxxxx". "xxxxxxx" replaced friend's name , property owner's name.
i've googled , yahood answer , found on stackoverflow:
accessing friend list in facebook
and this:
facebook php sdk: people in network , friends of friends
neither of solution see on airbnb website. thoughts airbnb has kind of special permission facebook data or when property owners login using personal facebook info, airbnb grabs friend data , stores locally on systems. might update every often.
so, long story short, how 1 friend information on public website facebook member? assuming have facebook appid , appsecret.
you can't without user logging in , authorizing application access details , possibly storing id's of of friends.
the problem is not update when user adds more friends, or existing friends join site too.
Comments
Post a Comment