Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Possibility to specify callbackEvent on Social.grantFacebookPermissions #43

Open
raulriera opened this issue May 4, 2013 · 0 comments

Comments

@raulriera
Copy link

According to Facebook, you can't do something like this for the first request of the app (the very first time they are trying granting access to their account:

Social.grantFacebookPermissions({
    appIdKey: GLOBAL.facebookAppId,
    permissionsKey: "email, publish_stream" 
});

In order to "get around this" I want to ask the user for the email (which I don't want, I just want the publish_stream but since FB forces me to do a read request first) and after that success callback I want to call grantFacebookPermissions again but not actually publish something, I just want their permission to do so later on the app where that is more appropriate.

So, on the second permission I need to specify a callbackEvent otherwise I am going to enter into an endless loop.

thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant