I'm making requests for a user's posts to the 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 way I want, I'm trying to use the explode () function, but I'm not succeeding. any advice?