I have a Json data retrieved from facebook using graph api, now i am going to parse that data, i decoded that json
$decodedjson= json_decode($jsondata);
after that i got data in following format.
i write
$id= $decodedjson->message_id;
to get the id, the attachment is an other object, please tell me how can i access the attachment, media, href, alt and the video , display_url and so on, name etc
Thanks
true
for the second variable injson_decode($jsondata,true);
, it returns an assoc array instead.