Quantcast
Channel: DeveloperFeed » DeveloperFeed |
Viewing all articles
Browse latest Browse all 10

FBSession: an attempt was made reauthorize permissions on an unopened session

$
0
0
Issue When an attempt is made to Re-Authorize the Facebook session using the Facebook iOS SDK, the following exception is thrown. 2012-09-30 01:37:46.377 [7894:17c03] *** Terminating app due to uncaught exception ‘com.facebook.sdk:InvalidOperationException’, reason: ‘FBSession: an attempt was made reauthorize permissions on an unopened session’*** First throw call stack: Solution Make sure the FBSession is opened before any attempt is made to authorize or re-authorize any account access permissions. Example: // Convenience method to perform some action that requires the “publish_actions” permissions.– (void) performPublishAction:(void (^)(void)) action {    // we defer request for permission to post to the moment of post, then [...]

Viewing all articles
Browse latest Browse all 10

Trending Articles