简体   繁体   中英

getting the facebook photos

I have a problem with getting photos using 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..."

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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