Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eliperkins/simpleauth-facebook
Facebook provider for SimpleAuth
https://github.com/eliperkins/simpleauth-facebook
Last synced: 29 days ago
JSON representation
Facebook provider for SimpleAuth
- Host: GitHub
- URL: https://github.com/eliperkins/simpleauth-facebook
- Owner: eliperkins
- License: mit
- Created: 2013-11-11T21:13:49.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-11T21:14:45.000Z (almost 11 years ago)
- Last Synced: 2023-03-12T08:33:25.909Z (over 1 year ago)
- Language: Objective-C
- Size: 89.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.markdown
- License: LICENSE
Awesome Lists containing this project
README
# Facebook Provider for [SimpleAuth](https://github.com/SimpleAuth/SimpleAuth)
## Installation
Add `pod 'SimpleAuth-Facebook` to your `Podfile`.
## Configuration
The currently supported options are:
- `app_id`
- `permissions`````objc
[SimpleAuth configuration][@"facebook"] = @{
@"app_id" : @"APP_ID",
@"permissions", @[ @"email", @"birthday", @"photos" ]
}
````## Authentication
````objc
[SimpleAuth authorize:@"facebook" completion:^(id responseObject, NSHTTPURLResponse *response, NSError *error) {
NSLog(@"%@", responseObject);
}];
````