我正在使用此代码...
它似乎有点工作,但问题是我得到的照片缩略图不是原始照片。
如何获取原始照片网址?
$albums = $fb->get('/me/albums', $token)->getGraphEdge()->asArray();
$photos = $fb->get("/{$album_id}/photos?fields=picture", $token)->getGraphEdge()->asArray();
foreach($photos as $photo){
$photo['picture'];
}
输出
https://fbcdn-photos-c-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-0/p130x130/xxxxxxxx_xxxxxxxxx_xxxxxxxx_n.jpg?oh=xxxxxxxxxxxx6&oe=56CA24CB&__gda__=xxxx_xxxxxxxxxxx