Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

in SimpleAuthFacebookWebLoginViewController.m #72

Closed
steve21124 opened this issue Sep 15, 2014 · 1 comment
Closed

in SimpleAuthFacebookWebLoginViewController.m #72

steve21124 opened this issue Sep 15, 2014 · 1 comment

Comments

@steve21124
Copy link

This line below cause error.

@"scope" : [self.options[@"permissions"] componentsJoinedByString:@","]

2014-09-15 15:55:32.027 Pregnant[3135:60b] -[__NSCFConstantString componentsJoinedByString:]: unrecognized selector sent to instance 0x6ae31c
2014-09-15 15:55:32.031 Pregnant[3135:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString componentsJoinedByString:]: unrecognized selector sent to instance 0x6ae31c'

*** First throw call stack:

if I use this only @"scope" : self.options[@"permissions"] . the return request is "nil"

@calebd
Copy link
Owner

calebd commented Sep 16, 2014

You have to set an array for permissions:

{
    "permissions": [ "email", "photos" ]
}

@calebd calebd closed this as completed Sep 16, 2014
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

2 participants