2
I’m making requests for a user’s posts to Facebook API as in the code below.
//faz requisição
$postagens = file("https://graph.facebook.com/".$url."/posts?access_token=".$token);
//imprime as postagens
echo $postagens[0];
and I’m having a return in JSON format, I need to separate the posts to group the desired way, I’m trying to use the function explode(), but I’m not succeeding. some advice?