简体   繁体   中英

Add facebook permission after user is already authorized

I have an app that had the basic facebook permissions. Now, in my new update I need to ask the user for a new (email) permission and I can't find a way to add a permission after the user has already authorized the basic permissions. Is there a simple way of doing it? Thanks!

I think there is a class called NewPermissionsRequest .

You prepare this request (check it, it is simple).

Then use your old session to request this new permission. For example, use session. requestNewPublishPermissions (newPermissionsRequest); for new Publish Permissions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM