有没有办法删除您的Facebook应用程序的用户? [英] Is there a way to delete users for your Facebook Application?
问题描述
在Facebook开发人员在线文档中有测试用户的文档,但是如何删除应用程序在其应用程序列表中不再显示的实际用户?这是了解 access_token
和 facebook_user_id
。
用于删除测试用户:
https://graph.facebook.com/893450345999?method=delete&access_token= A2ADI1YMySweBABBGrWPNwKMlubZA5ZCrQbxwhtlEd9FIQUrOVjsGD3mnIWEbUhzDz7dkuBekMFdHvjvJ9CZAU7EMSSaZBsgN60FkMCi3AAZDZD
运行测试用户链接会产生以下错误:
错误:{
message:(#100)只能针对您的应用程序对有效的测试用户调用此方法,
type:OAuthException,
code:100
}
您寻求申请撤销授权:
您可以取消授权申请或撤销通过向该应用的用户access_token发出对PROFILE_ID /权限的HTTP DELETE请求,代表用户的特定扩展权限。
权限 - 您希望撤销的权限。如果您没有指定权限,那么这将使完全取消授权应用。
要实现此问题要求:
https://graph.facebook.com/me/permissions?method=delete&access_token=。 ..
一旦应用程序被取消授权,它将不会出现在用户应用程序列表中。 >
There is documentation for test users in the Facebook Developer online documentation but how do you delete actual users where the application doesn't show in their app list anymore? This is with the knowledge of the access_token
and facebook_user_id
.
Used to delete Test Users:
https://graph.facebook.com/893450345999?method=delete&access_token=A2ADI1YMySweBABBGrWPNwKMlubZA5ZCrQbxwhtlEd9FIQUrOVjsGD3mnIWEbUhzDz7dkuBekMFdHvjvJ9CZAU7EMSSaZBsgN60FkMCi3AAZDZD
Running the test user link produces the following error:
"error": {
"message": "(#100) Can only call this method on valid test users for your app",
"type": "OAuthException",
"code": 100
}
You seek for application de-authorization:
You can de-authorize an application or revoke a specific extended permissions on behalf of a user by issuing an HTTP DELETE request to PROFILE_ID/permissions with a user access_token for that app.
permission - The permission you wish to revoke. If you don't specify a permission then this will de-authorize the application completely.
To achieve this issue request to:
https://graph.facebook.com/me/permissions?method=delete&access_token=...
Once application de-authorized it will not appear in the list of user's applications.
这篇关于有没有办法删除您的Facebook应用程序的用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!