Skip to content

Updated readme docs #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ Once you have created one, navigate to the application and find the `Keys and Ac

![](./resources/twitter/api-key.png)

For the authentication to work properly, you need to set the Callback URL. It doesn't matter what you choose as long as its a valid url.

![](./resources/twitter/callback-url.png)

Twitter's URL scheme needs to be the app name (that we pass into the constructor method). Make sure we have one registered in Xcode as the same name:

![](./resources/twitter/url-scheme.png)
Expand Down Expand Up @@ -253,9 +257,13 @@ For instance, my app ID in this example is: `1745641015707619`. In the `Bundle I

![](./resources/facebook/redirect-url.png)

For Android, you will also need to set the redirect url to `http://localhost/facebook` in the Facebook Login settings.

![](./resources/facebook/redirect-url.png)

We'll need to create a new URL scheme for Facebook and (this is a weird bug on the Facebook side) the facebook redirect URL scheme _must be the first one_ in the list. The URL scheme needs to be the same id as the `Bundle ID` copied from above:

![](./resources/facebook/url-scheme.png)
![](./resources/facebook/facebook-redirect.png)

Back in our application, add the App ID and the secret as:

Expand Down
Binary file added resources/facebook/facebook-redirect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/twitter/callback-url.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.