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

Answers


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


Need Your Help

Frameworks using Smarty

php frameworks smarty

Is there any PHP framework that uses Smarty as template engine?

How do I get the UniqueId and Channel Name from a call I have just originated?

c# asterisk asteriskami asternet

I am trying to upgrade to the latest version of AsterNet from an old copy of Asterisk.Net. We used to originate calls with AsteriskManager.OriginateCall(), which returned a Call object. That call o...