I need know correct sintax to retrive the highlighted value:
I can get the other values correctly:
$result=json_decode($data);
$ret['like'] = $result->likes->summary->total_count;
$ret['original_date'] = $result->created_time;
$ret['url'] = 'https://www.facebook.com'.$result->permalink_url;
but i don't know how to get:
$ret['views'] = $result-> video_insights -> 0 -> values -> 0 -> value (?)
Thanks!