如何以编程方式使用 Facebook 地理定位?
我似乎找不到如何进行地理定位(使用他们的 API 在 Facebook 上过滤帖子(根据用户的位置)。
有人已经成功做到了吗?
您可以通过他们的界面执行此操作:
替代文本 http://www.rockyfu.com/rfpwordpress/wp-content/uploads/2009/11/facebook-page-targeting.jpg
I can't seem to find how to do geo targeting (filtering a post based on the location of a user) on facebook using their API.
Does anyone already managed to do it?
This is how you can do it via their interface:
alt text http://www.rockyfu.com/rfpwordpress/wp-content/uploads/2009/11/facebook-page-targeting.jpg
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当前的 API(仅前端)无法做到这一点,但预计将在不久的将来添加。
this is not possible with the current API, (only the front-end) but is anticipated to be added in the near future.
通过 Graph API 进行定位已于 2010 年底推出。以下是博客文章:
https://developers .facebook.com/blog/post/434/
和文档:
https: //developers.facebook.com/docs/reference/api/post/
Targeting via the Graph API was made available in late 2010. Here's the blog post:
https://developers.facebook.com/blog/post/434/
And docs:
https://developers.facebook.com/docs/reference/api/post/