views:

30

answers:

1

mypermission are

$par['req_perms'] = "publish_stream, offline_access, user_status, user_photos, user_videos, user_photo_video_tags, read_stream, user_likes, user_events, email, user_groups";

i try to get facebook photos calling method

$photos = $facebook->api('/'.'userid'.'/photos');

but i get empty array, what is the solution for this?

A: 

There's nothing at /userid/photos.

Johannes Gorset
userid need to replace by "id of facebook user"@FRKT Did u try github example"grph.facebook.." url is bing inside the method
kasun
@kasun: You're not making any sense.
Johannes Gorset
Solution for this we need to get album first and then using album id we need to get photos, but somehow there should be a way to get photos directly
kasun