Is there a way to delete users for your Facebook Application?

前端 未结 2 1638
我寻月下人不归
我寻月下人不归 2020-12-14 12:47

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

2条回答
  •  攒了一身酷
    2020-12-14 13:08

    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.

提交回复
热议问题