通过facebook fql获取喜欢的照片会导致OAuthException

时间:2013-07-05 08:26:17

标签: facebook facebook-fql

直到几天前,这个查询过去给我一张我喜欢的(部分)照片列表:

$params = array(
    'method' => 'fql.multiquery',
    'queries' => '{
        "objects" : "SELECT object_id FROM like WHERE user_id = me() LIMIT 500",                
        "likes" : "SELECT object_id, owner, src_big, src_big_width, src_big_height, link, caption, created, like_info FROM photo WHERE object_id IN (SELECT object_id FROM #objects)",
        }'
    );

现在我所得到的只是

{
  "error": {
    "message": "An unknown error has occurred.", 
    "type": "OAuthException", 
    "code": 1
  }
}

我获得的权限是read_stream,user_likes,user_photos和friend_photos。但我尝试了所有可能的权限,仍然是同样的错误。有人建议吗?

0 个答案:

没有答案