获取我朋友的照片时出现 Facebook FQL 错误

发布于 2024-12-01 19:05:44 字数 386 浏览 0 评论 0原文

我正在创建一个应用程序,用于获取按创建日期排序的朋友的照片,因此我使用以下 FQL 来获取照片。

SELECT src_big_width,src_big_height, caption, owner, pid, src_big , src_small ,aid, created FROM photo WHERE aid IN (SELECT aid FROM album WHERE owner IN (SELECT uid2 FROM friend WHERE uid1=me())) 
    ORDER BY created DESC LIMIT 0,1000

但我的个人资料中看到一些朋友发布了新照片,但它没有出现在我的个人资料中 轮廓。我的 FQL 中是否有任何错误或错误?

I am creating an applications that gets my friend's photos sorted by created date so I use the following FQL to get the photo.

SELECT src_big_width,src_big_height, caption, owner, pid, src_big , src_small ,aid, created FROM photo WHERE aid IN (SELECT aid FROM album WHERE owner IN (SELECT uid2 FROM friend WHERE uid1=me())) 
    ORDER BY created DESC LIMIT 0,1000

But I my profile I see some friend posting a new photo, but it does not appear in my
profile. Is there any error or mistake in my FQL?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

始终不够 2024-12-08 19:05:44

您的访问令牌是否具有 friends_photos 权限?您需要它来访问朋友的照片。

另外,请检查您是否可以使用 Graph API 查看照片="http://developers.facebook.com/tools/explorer" rel="nofollow">Graph API explorer 检查那里是否有可以通过您的 access_token 访问的数据。这将有助于排除 FQL 查询的问题。

Does your access token have the friends_photos permission? You need this to access the photos of a friend.

Also, check that you can see the photos in the Graph API by using the Graph API explorer to check there is data there which can be accessed via your access_token. This will help to rule out issues with your FQL query.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文