In Graph API › Photo, I’m using below script to get Photo attributes
$response = file_get_contents($token_url);
if($response=='') { echo "<script>window.location='index.php'</script>"; }
$params = null;
parse_str($response, $params);
$fb_photo_id='10150361640936173';
$graph_url_photos = "https://graph.facebook.com/" . $fb_photo_id . "?access_token="
. $params['access_token'];
$photos = json_decode(file_get_contents($graph_url_photos));
}
("token " . $params['access_token']);
echo $photos_id=$photos->id; echo "</br>";
Question: How can I get the data of $photos->tags?
This is how you access it: