开发者

How to find other friends of friendslist on facebook using Java API

Am working on Faceboo开发者_如何转开发k Application in java. Now in my application i can able to connect to facebook and retrieve my friends list. but i want to know how will i get my friends friends list. for eg "A" user has looged in and A has got b,c,d,e as his friendslist. i want to know the b's friendlist of A.

Any help is appreciable


You cannot get the friend's list of your friend b, until you login with that b's credentials. Else you'll get OAuthException, which means you are not authorised or need a accesstoken / session of that particular user. Let me know why you need this maybe I can help.


Via the graph API this would be:

http://graph.facebook.com/<user_id_for_b>/friends
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜