Reputation:
After authenticating the user, I need to get the users friends list. I got the user name and photo by below code-
<'fb:profile-pic uid='loggedinuser' facebook-logo='true'><'fb:profile-pic> <br/>
"Welcome, <'fb:name uid='loggedinuser' useyou='false'><'/fb:name>.<br/><br/>
I need to display friends list here, please suggests how to do this with uid attribute in hand.
Upvotes: 1
Views: 2159
Reputation: 255115
it's impossible doing this using only [x]fbml due there is no such feature
so you have to use JS FB.ApiClient.friends_get and then display the retrieved friends
ps: why this topic was at main page???? didn't even look at post date :-S
Upvotes: 1