Facebook api。我怎么能得到所有未标记的照片我的个人资料?

时间:2013-08-07 12:52:52

标签: php facebook-graph-api facebook-php-sdk photo

如何将照片作为Facebook中没有标记的页面获取?

$feedURL = "https://graph.facebook.com/" . $this->user . "/albums?access_token=" . $this->access_token;
$albumData = json_decode(file_get_contents($feedURL));

foreach ($albumData->data as $album) {
    $url = "https://graph.facebook.com/" . $album->id . "/photos?access_token=" . $this->access_token;
    $photo = json_decode(file_get_contents($url));
    foreach ($photo->data as $_) {
        // Here I do not know how to identify the not tagged photos
    }
}

0 个答案:

没有答案
相关问题