I am getting album information by above scripts. How can I get the data of $album->from
?
$response = file_get_contents($token_url);
if($response=='') { echo "<script>window.location='index.php'</script>"; }
$params = null;
parse_str($response, $params);
$graph_url_albums = "https://graph.facebook.com/10150293277371173?access_token="
. $params['access_token'];
$albums = json_decode(file_get_contents($graph_url_albums));
}
("token " . $params['access_token']);
echo $albums_id=$albums->id; echo "</br>";