Configuring a Twitter app with Firebase authentication
To authenticate using Twitter, Firebase also requires API Key and API Secret from your Twitter app. Firebase will take care of the communication and return the user object.
Getting ready
This is a straightforward process if you have already gone through the Facebook integration. It's similar to Twitter.
How to do it...
Here are the instructions to set up your Twitter app:
Log in to your Twitter account.
Navigate to https://apps.twitter.com.
Click on the Create New App button:
Provide the application details. You can fill in anything for description and website as Twitter will not check for a test app. Let's name the app as
ionic_firebase_test
. The most important field here is the Callback URL, as it must be in thehttps://auth.firebase.com/v2/<YOUR-FIREBASE>/auth/twitter/callback
format. Since the Firebase app name isionicebook
, the callback URL will be https://auth.firebase.com/v2/ionicebook/auth/twitter/callback, as shown in the following...