Siz aytayotgan oauth_token ham foydalanuvchilarning access_token, ular bir xil bo'lishi kerak.
Foydalanuvchilarning ruxsatlarini tekshirish uchun/me/ruxsatlarga GET chaqiruvini amalga oshirishingiz mumkin, bu quyida shunga o'xshash ma'lumotlar majmuasini qaytarishi kerak
{
"data": [
{
"installed": 1,
"read_stream": 1,
"manage_notifications": 1,
"manage_pages": 1,
"user_likes": 1,
"user_activities": 1,
"user_interests": 1,
"user_photos": 1,
"user_about_me": 1,
"type": "permissions"
}
]
}
Depending on what the other data you wish to access you will need to ask for more permissions and then call the appropriate API end points. For example to get the users basic information make a call to /me
or to get a list of their friends /me/friends
You can find all the permissions you can ask for at https://developers.facebook.com/docs/reference/api/permissions/
And all the information about where to call in the API for retrieving the different bits of data you require here https://developers.facebook.com/docs/reference/api/