如何使用 Graph API 删除应用程序请求
我尝试使用 HTTP POST 请求删除应用程序请求: https://graph.facebook.com/288041244541781_100000461597474?access_token=AT&method=delete 我正在使用的访问令牌来自signed_request 对象。
但是,这样做时我收到此错误:
{
"error": {
"message": "(#2) App Request Recipient Must Be Specified: The recipient for this app request must be specified through a user-signed access token or the fully specified app request ID.",
"type": "OAuthException"
}
}
我认为我提供了完全指定的应用程序请求 ID,但我似乎无法找到用户签名的访问令牌和我正在使用的令牌之间的区别。 我怎样才能让它发挥作用?
I'm trying to remove app requests using an HTTP POST request to:
https://graph.facebook.com/288041244541781_100000461597474?access_token=AT&method=delete
The access token i'm using is from the signed_request object.
However, when doing so I get this error:
{
"error": {
"message": "(#2) App Request Recipient Must Be Specified: The recipient for this app request must be specified through a user-signed access token or the fully specified app request ID.",
"type": "OAuthException"
}
}
I think I supplied the fully specified app request ID, but I can't seem to find what the difference is between a user-signed access token and the token I'm using.
How can I get this to work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
访问令牌在 linter 工具中看起来是否正确并且具有正确的权限?
Does the access token look correct in the linter tool and has the correct permissions?