3

在使用 FQL 查询特定 URL 上的共享统计信息时,我突然开始收到错误代码 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')

这是我用来进行查询的 URL: 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')"
        }
    ]

}

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

任何想法可能导致此问题?我假设这是 Facebook 内部的事情,因为它直到上周都运行良好。此外,Facebook 平台错误工具 (https://developers.facebook.com/bugs) 似乎无法正常工作,它会将我送回开发人员主页。

4

1 回答 1

0
  1. 此查询现在有效,因此错误不可重现

[{"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. 错误工具也可以工作

将来向https://developers.facebook.com/bugs提交错误

于 2015-01-18T11:54:51.227 回答