Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find my Firebase reference URL in Firebase account?

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); } 
like image 382
Saif ali Karedia Avatar asked Oct 21 '16 04:10

Saif ali Karedia


People also ask

Where can I find my Firebase URL?

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 )

How can I get image URL from Firebase storage?

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.

How do I change my Firebase realtime database URL?

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.

Where can I find Firebase App ID?

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.


2 Answers

You should have done searching by yourself first. Here you are,

  1. Open Firebase Console

enter image description here

  1. Select your app, and go to database, marked is the url you need.

enter image description here

For UPDATED UI

Follow the below steps to get it in new UI of Firebase Console:

  1. Go to Database section
  2. Tap Cloud Firebase (marked 1 in picture) and select Realtime Database
  3. Marked 2 is the URL

enter image description here

like image 51
Waqas Ahmed Ansari Avatar answered Oct 14 '22 05:10

Waqas Ahmed Ansari


In the New UI (Nov-2019)

You need to select project settings in the Left Corner.

enter image description here

Then Scroll Down to Apps Section

Select Config, Then you can get all the information.

enter image description here

like image 39
BadPiggie Avatar answered Oct 14 '22 07:10

BadPiggie