在Facebook Graph API中指定日期时出现问题
我正在使用以下内容,通过以下请求提取Facebook帖子和评论:在Facebook Graph API中指定日期时出现问题,facebook,api,Facebook,Api,我正在使用以下内容,通过以下请求提取Facebook帖子和评论: `me?fields=posts{comments}` 这很好用 当我尝试使用以下命令指定某个日期范围时: me?fields=posts{comments}?period=2016-11-01&until=2019-12-02 我得到以下错误: { "error": { "message": "Syntax error \"Expected end of string instead of \"?\".\" at chara
`me?fields=posts{comments}`
这很好用
当我尝试使用以下命令指定某个日期范围时:
me?fields=posts{comments}?period=2016-11-01&until=2019-12-02
我得到以下错误:
{
"error": {
"message": "Syntax error \"Expected end of string instead of \"?\".\" at character 15: posts{comments}?period",
"type": "OAuthException",
"code": 2500,
"fbtrace_id": "AlvbffL63STHI2nxm3ANsh2"
}
}
谁能告诉我我做错了什么
我是Facebook API新手,任何帮助都将不胜感激URL查询字符串以问号开头,但多个name=value参数用符号分隔。您好04FS,感谢您的回复。你能告诉我它应该是什么样子的吗,因为我仍然无法使它工作?