英文:
How can I manipulate the data from Firebase Authentication? Are there any way to work with those data (identifier, providers, created, etc.)?
问题
我想提取所有在过去180天内没有登录到应用程序的用户。
据我所知,一次只能查看最多250名用户,并且您还可以使用字段Identifier、Created、Signed In和User UID对数据进行排序。
有人可以帮助我找到存储这些信息的数据库或其他获取相关信息的方法吗?
感谢任何帮助。
干杯。
英文:
I'd like to extract all users who haven't been signed in to the App for the last 180 days.
From what I know it's only possible to see a max number of 250 users at a time and also you can sort the data using the fields Identifier, Created, Signed In and User UID.
Could anyone help me with some information where can I find either the database where that information is or any other way to get insights about it?
I appreciate any help.
Cheers.
答案1
得分: 1
除了控制台之外,在Firebase身份验证中与用户帐户一起工作的唯一支持方式是Firebase管理 SDK。您将编写代码来执行您需要的操作。
英文:
Aside from the console, the only other supported way to work with user accounts in Firebase Authentication is the Firebase Admin SDK. You will write code to do what you need to do.
答案2
得分: 1
你可以使用 Firebase CLI 中的 auth:export
命令。
它将会将当前活动项目的所有用户帐户导出为 JSON 或 CSV 文件。
你可以在文档中找到 CSV 或 JSON 格式的详细信息 这里,正如你所看到的,你可以获取到以下字段:标识符、创建时间(以 EPOCH 时间表示)、最后登录时间(以 EPOCH 时间表示)和用户 UID。你可以轻松地将 CSV 导入到 Excel 或 Google Sheets 中以进行排序和筛选。
英文:
You can use the auth:export
command from the Firebase CLI.
It will exports all the active project's user accounts to a JSON or CSV file.
You'll find the CSV or JSON formats here in the doc and, as you can see, you get the fields you're looking for: Identifier, Created (in EPOCH time), last Signed In (in EPOCH time) and User UID. You can easily import the CSV to Excel or to Google Sheets in order to sort and filter.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论