解析Facebook评论图API

| 我一直在寻找一种方法来正确解析PHP中类似Facebook feed的JSON对象或关联数组: https://graph.facebook.com/comments/?ids=http://lovebryan.com/friends/layne/data/upimages/ClevelandForest.jpg
$request_url =\"https://graph.facebook.com/comments/?ids=\" . $purl;
$requests = file_get_contents($request_url);
$fb_response = json_decode($requests);
如何在PHP中实现foreach函数以提取每个数据成员的ID?
已邀请:
$fb_response = json_decode($json, true);

foreach($fb_response as $key => $value)
{
     // your code....
}

要回复问题请先登录注册