当我尝试通过此请求获取照片数据时
$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);
}
}
我只获得每张照片的[created_time,id]。获取此内容需要一些特权吗?
我需要&#34; user_photos&#34;特权被接受? 我认为管理员可以在没有接受的情况下对其进行测试。