测试用户上的 fql.query 返回空数组,为什么?
测试用户的fql或照片有限制吗? 我有测试用户,我将他的照片上传到相册,并且相册设置为公开 现在,当我运行此 fql 时:
$user_albums_photos = $facebook->api(array(
'method' => 'fql.query',
'query' => 'SELECT src,src_big FROM photo WHERE aid IN (SELECT aid FROM album WHERE owner=me())'
));
.im 得到空数组。 有线的事情是当我真正使用它时(我),每件事都正常工作,并且我得到完整的数组列表。
Is there any restriction on test users when it comes to fql or photos?
i have test user i uploaded him with photos to album , also the album is set to public
now when i run this fql :
$user_albums_photos = $facebook->api(array(
'method' => 'fql.query',
'query' => 'SELECT src,src_big FROM photo WHERE aid IN (SELECT aid FROM album WHERE owner=me())'
));
.im getting empty array .
the wired thing is when i do it with real use (me) every thing is working and i get full array list.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要首先请求
user_photos
权限。即使照片的隐私设置为“公开”,这也是必需的。You'll need to first request the
user_photos
permission. This is required even if the privacy of the photos is set to "Public".