FQL“尝试此查询”链接坏了?
我们花了一些时间尝试找到一个解决方案来确定用户是否通过 facebook PHP SDK 登录到我们的应用程序。由于多次重定向和会话清除,我正在考虑使用 FQL,但在阅读文档时,我注意到“尝试此查询”链接似乎已损坏。
http://developers.facebook.com/docs/reference/fql/cookies/
或者我错过了什么?
Been spending some time trying to get a solution in place that will determine if a user logged into our application via facebook PHP SDK. Due to a number of redirects and session clears, I am looking into using FQL, but when when reading the docs I noticed the 'Try this query' links appear to be broken.
http://developers.facebook.com/docs/reference/fql/cookies/
Or am I missing something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来 Facebook 更改了 OP 中的链接内容,但当它有效时,链接并未按预期工作,因此我必须稍微操作一下测试查询才能使其正常工作。正如我的评论中提到的,以下内容有效:
https://api.facebook.com/method/fql.query?access_token=123|123&query=select%20uid,%20name,%20value,%20expires,%20path%20from%20cookies% 20where%20uid%20%3D%201274471514
Looks like Facebook changed the contents of the link from the OP, but when it was valid the links weren't working as expected so I had to manipulate the test queries a bit to get them to work. As mentioned in my comment the following worked:
https://api.facebook.com/method/fql.query?access_token=123|123&query=select%20uid,%20name,%20value,%20expires,%20path%20from%20cookies%20where%20uid%20%3D%201274471514