公制(喜欢)应用metric_type = total_value指定
我正在尝试使用卷曲请求从我的Instagram帐户中获取喜欢的内容,但是我一直遇到相同的错误:
{"error":{"message":"(#100) The following metrics (likes) should be specified with parameter metric_type=total_value","type":"OAuthException","code":100
我的代码下面给出:
curl = 'https://graph.facebook.com/v14.0/ig-business-account-id/insights?metric=impressions,reach,likes&period=day&access_token='
response = requests.get(curl)
print (response.text)
我尝试搜索total_value的含义,但我在文档中找不到任何东西关于如何使用它。任何帮助将不胜感激。
I'm trying to use a curl request to get the likes from my Instagram account but I keep getting the same error:
{"error":{"message":"(#100) The following metrics (likes) should be specified with parameter metric_type=total_value","type":"OAuthException","code":100
My code is given below:
curl = 'https://graph.facebook.com/v14.0/ig-business-account-id/insights?metric=impressions,reach,likes&period=day&access_token='
response = requests.get(curl)
print (response.text)
I've tried to search what total_value means but I can't find anything in the documentation about how to use it. Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论