Facebook 图:查找附近的朋友签到
我想使用 FB Graph API 在特定时间窗口和纬度/经度/距离内查找附近的朋友
此请求(如下)将返回在一段时间内(从昨天开始)签入的朋友,但我似乎无法获取工作的纬度/经度/距离部分。 (我确实有正确的令牌工作正常)
谢谢!
I want to use FB Graph API to find friends nearby within a certain time window and lat/lon/distance
This request (below) will return friends who have checked in within a time (since yesterday), but I can't seem to get the lat/lon/distance piece to work. (I do have the correct token working fine)
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议使用 graph api explorer。获得代币和找到解决方案更容易。
也许这会有帮助?您可以获得所有签到,然后在应用程序中找到您需要的签到。 (您需要 Friends_status 权限)
http://developers.facebook。 com/tools/explorer/?method=GET&path=me%2Ffriends%2F%3Ffields%3Dcheckins
我希望这会对您有所帮助。
I recommend using graph api explorer. It is easier to get tokens and find solutions.
Maybe this will help? You can get all checkins and then find those you need in your app. (You will need friends_status permission)
http://developers.facebook.com/tools/explorer/?method=GET&path=me%2Ffriends%2F%3Ffields%3Dcheckins
I hope this will help you.
我一直无法通过 graph api 进行签到。总是返回一个空数组。我最终使用 FQL 做了一些类似于您需要的事情。看看这个问题和答案是否对您有帮助:
如何查找好友过去在某个位置附近的签到情况?
I have never been able to get checkins via graph api. Always get back an empty array. I finally used FQL to do something similar to what you need. see if this question and answer helps you:
how to find friend's past checkins near a location?