图api和等效的FQL方法给出不同的结果? [英] Graph api and equivalent FQL method give different results?

查看:96
本文介绍了图api和等效的FQL方法给出不同的结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1。当我使用此方法时,我会收到我正在参加的活动列表。

1. When I used this method, I get a list of events that I'm attending.

https://graph.facebook.com/me/events?access_token= ...

您可以自行尝试,滚动到页面中间,然后点击链接

You can try it yourself, scroll to the middle of the page and click the link

来源: http://developers.facebook.com/docs/reference/api/

2。当我使用这种方法,我没有得到结果。

2. When I use this method, I get no results.

的https://api.facebook.com/method/fql.query查询= SELECT +从+ event_member EID + + + WHERE UID +%3D +我%28%29 +放大器; =的access_token ... & format = json

第二个是FQL查询

SELECT eid FROM event_member WHERE uid = me()

资料来源: http://developers.facebook.com/docs/reference/rest/fql.query/

http://developers.facebook.com/docs / reference / fql / event_member /

这两种方法不应该返回相同的结果吗?

Shouldn't these two methods return the same results?

推荐答案

Graph API文档返回的访问令牌是否可能包含user_events权限,但是FQL文档没有?
尝试使用第一个

Is it possible that the access token returned by the Graph API documentation includes the user_events permission, but the access token used by the FQL documentation does not? Try running the second query with the access token used in the first

这篇关于图api和等效的FQL方法给出不同的结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆