How can I get tagged_places of my friends?

只愿长相守 提交于 2019-12-05 02:27:21

问题


When I submit a get on Graph API Explorer, like that:

me?fields=tagged_places

Works good and return the data of my 'tagged places' to me.

But when I try to get 'tagged places' of my friends, I got this error message:

"error": { "message": "(#100) Unknown fields: tagged_places.", "type": "OAuthException", "code": 100

I want to know if is not possible to get 'tagged_places' of my friends or Im doing something wrong.


回答1:


You need to have the permission of the item you were tagged in.

Take a look at this answer.




回答2:


Kindly note that the field 'tagged_places' is only accessible on the User object after the user grants the 'user_tagged_places' permission.

This means 1. Your app should request for the 'user_tagged_places' permission during login 2. Your friends should approve of this request while signing into the app.

Hope this helps!



来源:https://stackoverflow.com/questions/30430383/how-can-i-get-tagged-places-of-my-friends

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!