Skip to content

Commit b9970f4

Browse files
committed
updated readme for Facebook and Twitter integrations
1 parent a22cac2 commit b9970f4

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,10 @@ Once you have created one, navigate to the application and find the `Keys and Ac
220220

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

223+
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.
224+
225+
![](./resources/twitter/callback-url.png)
226+
223227
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:
224228

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

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

260+
For Android, you will also need to set the redirect url to `http://localhost/facebook` in the Facebook Login settings.
261+
262+
![](./resources/facebook/redirect-url.png)
263+
256264
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:
257265

258-
![](./resources/facebook/url-scheme.png)
266+
![](./resources/facebook/facebook-redirect.png)
259267

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

106 KB
Loading

resources/twitter/callback-url.png

205 KB
Loading

0 commit comments

Comments
 (0)