kasun
kasun

Reputation: 131

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";

Upvotes: 0

Views: 823

Answers (1)

Mike Sherov
Mike Sherov

Reputation: 13427

You need to comma separate each permission. You can't say "...user_photos or friend_photos...", you need to say "...user_photos,friend_photos..."

Upvotes: 1

Related Questions