简体   繁体   English

Facebook Graph用户位置更改

[英]Facebook Graph User Locations change

Recently I've been building an application that uses the Facebook graph API ( https://developers.facebook.com/docs/graph-api/reference/user/locations/ ) 最近,我一直在构建一个使用Facebook图形API的应用程序( https://developers.facebook.com/docs/graph-api/reference/user/locations/

I've recently realised that the locations it has been grabbing both in my application, and in the Graph explorer have been missing lots of locations I have been tagged in. 我最近意识到,它在我的应用程序中以及在Graph Explorer中都被抓取了很多位置,这些位置都缺少我标记过的位置。

I use to be able to retrieve over 500 locations (multiple pages) from Facebook, now I'm receiving less than 500 (single page). 我曾经能够从Facebook检索500多个位置(多页),现在我收到的位置少于500(单页)。 This is both in my application and in the explorer ( https://developers.facebook.com/tools/explorer/?method=GET&path=me%2Flocations%3Flimit%3D500 ) 这既在我的应用程序中又在资源管理器中( https://developers.facebook.com/tools/explorer/?method=GET&path=me%2Flocations%3Flimit%3D500

If anyone has any ideas that would be great - this is for my final year developmental project at university. 如果有人有什么好主意-这是我在大学的最后一年的发展项目。

您需要向图api提供访问令牌才能接收用户位置

I think if you've the following permissions you'll get all the locations of the user- 我认为,如果您具有以下权限,您将获得用户的所有位置-

  • user_photos
  • user_status
  • friend_photos
  • friend_status

You can check what all permissions your access token is carrying in Debugger . 您可以检查访问令牌在Debugger中具有哪些所有权限。

Reference 参考

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM