简体   繁体   English

获取facebook照片

[英]getting the facebook photos

I have a problem with getting photos using facebook graph API. 我在使用facebook graph API获取照片时遇到问题。 I'm getting the empty result. 我得到的结果是空的。

Permissions that i gave: 我给的权限:

$par['req_perms'] = "publish_stream,
                 offline_access,
                 user_status, user_photos or friend_photos, 
                 user_videos or friend_videos, read_stream,
                 user_likes or friend_likes, 
                 user_events or friend_events,
                 email, user_groups";

You need to comma separate each permission. 您需要用逗号分隔每个权限。 You can't say "...user_photos or friend_photos...", you need to say "...user_photos,friend_photos..." 您不能说“ ... user_photos或friend_photos ...”,而需要说“ ... user_photos,friend_photos ...”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM