Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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);
}];
````