在 Firebase 帐户中,在哪里可以找到我的 Firebase 参考网址? [英] Where can I find my Firebase reference URL in Firebase account?

查看:33
本文介绍了在 Firebase 帐户中,在哪里可以找到我的 Firebase 参考网址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在以下代码的倒数第三行中,我如何找到 firebase URL.我无法找到它.谁能为我提供有关如何使用 android 设置 firebase facebook 登录的最佳链接.

public void saveUser() {//添加您的 Firebase 参考 URL 而不是以下 URLFirebase myFirebaseRef = new Firebase("https://androidbashfirebase.firebaseio.com/");//<---- 如何找到这个myFirebaseRef = myFirebaseRef.child("users").child(getId());myFirebaseRef.setValue(this);}

解决方案

你应该先自己搜索一下.给你,

  1. 打开

    1. 选择您的应用,然后转到数据库,标记的是您需要的网址.

    对于更新的用户界面

    按照以下步骤在 Firebase 控制台的新 UI 中获取它:

    1. 转到数据库部分
    2. 点按 Cloud Firebase(图中标记为 1)并选择实时数据库
    3. 标记为 2 的是网址

    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 should have done searching by yourself first. Here you are,

    1. Open Firebase Console

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

    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

    这篇关于在 Firebase 帐户中,在哪里可以找到我的 Firebase 参考网址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆