【发布时间】:2016-08-10 18:54:18
【问题描述】:
我正在尝试将 Facebook 图形 API 用于我的广告帐户,以获取特定日期的见解。我相信日期是正确使用的参数。这是 Facebook 的广告帐户洞察文档https://developers.facebook.com/docs/marketing-api/reference/ad-account/insights/
这是我尝试使用的网址:
https://graph.facebook.com/v2.6/act_ACCOUNT_ID/insights?access_token=MY_ACCESS_TOKEN&time_range={"since":"2016-08-09","until":"2016-08-09"}&fields=account_id%2Cspend%2Cimpressions%2Ctotal_actions&method=get&pretty=0&sdk=joey
这是我得到的回复:
{"error":{"message":"(#100) Must be a date representation in the format YYYY-MM-DD","type":"OAuthException","code":100,"fbtrace_id":"HEFP4SeNfWa"}}
【问题讨论】:
标签: facebook facebook-graph-api