When I try to get photo data by this request
$response = $fb->get('/me/albums');
$albums = $response->getDecodedBody();
foreach($albums['data'] as $album)
{
echo 'Album: '. $album['name'] .'<br/>';
$response = $fb->get('/'. $album['id'] .'/photos');
$photos = $response->getDecodedBody();
foreach($photos['data'] as $photo)
{
$response = $fb->get('/'. $photo['id']);
$data = $response->getDecodedBody();
var_dump($data);
}
}
I get only [ created_time, id ] of each photo. Is some privilege required to get this content?
Do I need to "user_photos" privilege accepted? I thought that admin may test it without acceptation.