新的 Facebook FQL 表与图形 API
我刚刚阅读了新的 User fql 表字段 http://developers.facebook.com/docs/reference/fql/user
正如我所看到的,许多字段已被弃用,例如工作历史或书籍和电影。对于我的应用程序来说,在单个 fql 查询中获取用户朋友的所有这些字段非常重要。 如果我没记错的话,唯一的方法是使用 Graph API 为我的用户的每个朋友单独请求这些额外的字段。有没有什么方法可以更有效地做到这一点,而无需那么多调用?
我可以为我的用户的朋友订阅请求字段的实时更新(我不关心登录的用户数据)吗?
I just read the new User fql table fields at
http://developers.facebook.com/docs/reference/fql/user
As I can see a lot of the fields have been deprecated such as work_history or books and movies. It is quite essential for my app to get all those fields for my user's friends in a single fql query.
If i am not wrong the only way to do this is to get those extra fields using the Graph API by requesting them seperately for every friend of my user. Is there any way to do it in a more efficient way without so many calls?
Can I subscribe to real time updates for the request fields for my user's friends (i do not care about the logged in user data)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我还没有机会对此进行测试,但您可以开始实时更新,请看这里:
http://developers.facebook.com/docs/api/realtime
http://developers.facebook.com/docs/api/realtime/samples/回调
http://forum.developers.facebook.com/viewtopic.php?id= 56610
干杯!
I haven't had the chance to test this yet, but you can get started with the real-time updates, have a look here:
http://developers.facebook.com/docs/api/realtime
http://developers.facebook.com/docs/api/realtime/samples/callback
http://forum.developers.facebook.com/viewtopic.php?id=56610
Cheers!
我意识到这已经很晚了,但也许这可能会帮助以后的人。
I realize this is very late, but maybe this might help someone out later.