天道酬勤,学无止境

social-network-friendship

facebook graph api..get friends of friends

I am using the FB graph api to get a list of my friends' friends using: https://graph.facebook.com/<id>/friends?access_token=<token> Now the weird thing is that this works for some of my friends and does not work for some others. Could somebody tell me why this is happening and a possible fix? In cases where it does not work, I get the following message: "Can't lookup all friends of YYYYYY. Can only lookup for the logged in user (XXXXX), or friends of the logged in user with the appropriate permission" And I repeat, I AM ABLE to get friend lists of some of my friends using the above URL. What

2021-04-26 21:32:23    分类:问答    facebook   facebook-graph-api   facebook-fql   facebook-friends   social-network-friendship