In the third last line of the below code, how can I find the firebase URL. I am not able to find it. Can anyone provide me the best link on how to setup firebase facebook login with android.
public void saveUser() { //Add YOUR Firebase Reference URL instead of the following URL Firebase myFirebaseRef = new Firebase("https://androidbashfirebase.firebaseio.com/"); //<---- How to find this myFirebaseRef = myFirebaseRef.child("users").child(getId()); myFirebaseRef.setValue(this); }
You can find your Realtime Database URL in the Realtime Database section of the Firebase console. Depending on the location of the database, the database URL will be in one of the following forms: https:// DATABASE_NAME . firebaseio.com (for databases in us-central1 )
Image URL is obtained by uploading an image to firebase bucket and then that can return back a URL that URL is a permanent URL which can be open anywhere. Then a user can use this URL for any purpose in its application.
You can't change a location of a existing database. You would need to migrate it manually to a new one that you setup to the location you want. The migration is very easy. Just export the old database into a json file and import it to the new one.
Find your Firebase project's project ID using one of these options: Using the Firebase console: Click settings Project settings. The project ID is displayed in the top pane.
You should have done searching by yourself first. Here you are,
For UPDATED UI
Follow the below steps to get it in new UI of Firebase Console:
In the New UI (Nov-2019)
You need to select project settings in the Left Corner.
Then Scroll Down to Apps Section
Select Config, Then you can get all the information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With