'How to revoke all permission on facebook api using rest api

I trying to revoke all permission on withdrawl user facebook document said will be conducted by calling Url with 'user access token or app access token

https://graph.facebook.com/me/{user_id}/permissions

but i cant attaching user access token in this request, but i can attach app access token in query params. so i requested this url with app access token, but response message is "An active access token must be used to query information about the current user."

Can I really request it with an app access token?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source