在查询某些URL时,Facebook FQL会返回“发生未知错误”

时间:2013-01-15 20:02:27

标签: facebook api url facebook-fql

当使用FQL查询特定网址上的共享统计信息时,我突然开始收到错误代码1和“发生未知错误”的错误。根据我的记录,这种情况上周才开始发生在大约2013-01-11 02:43:02 +0000。

SELECT url, normalized_url, share_count, like_count, comment_count, total_count, click_count FROM link_stat WHERE url IN('http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=331975235')

这是我用来进行查询的网址: http://api.facebook.com/method/fql.query?format=json&query=SELECT%20url%2C%20normalized_url%2C%20share_count%2C%20like_count%2C%20comment_count%2C%20total_count%2C%20click_count%20FROM%20link_stat%20WHERE%20url%20IN%28%27http%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZStore.woa%2Fwa%2FviewSoftware%3Fid%3D331975235%27%29

返回以下JSON结果:

{

    "error_code": 1,
    "error_msg": "An unknown error occurred",
    "request_args": [
        {
            "key": "method",
            "value": "fql.query"
        },
        {
            "key": "format",
            "value": "json"
        },
        {
            "key": "query",
            "value": "SELECT url, normalized_url, share_count, like_count, comment_count, total_count, click_count FROM link_stat WHERE url IN('http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=331975235')"
        }
    ]

}

通常情况下,我会一次查询多个网址,但在这种情况下,我将问题缩小到导致批处理错误的特定网址。

任何可能导致此问题的想法?我认为这是Facebook内部的一些内容,因为它在上周工作正常。此外,Facebook平台错误工具(https://developers.facebook.com/bugs)似乎无法正常工作,它将我送回开发者主页。

1 个答案:

答案 0 :(得分:0)

  1. 此查询现在可以正常运行,因此错误无法重现
  2. [{"url":"http:\/\/phobos.apple.com\/WebObjects\/MZStore.woa\/wa\/viewSoftware?id=331975235","normalized_url":"http:\/\/phobos.apple.com\/WebObjects\/MZStore.woa\/wa\/viewSoftware?id=331975235","share_count":6389,"like_count":3383,"comment_count":262,"total_count":10034,"click_count":0}]

    1. Bugs工具也适用
    2. 将来提交https://developers.facebook.com/bugs

      的错误