我怎样才能从分支机构获得所有用户和他们的奖励积分,或者至少在他们身上贴上一个名字?

How can i get all the users and their reward points from branch or atleast tag a name with them?

我在 android 申请中使用 branch.io 作为推荐计划。

有什么办法可以知道所有用户的点数,需要他们来监控分析,禁用和启用程序。

我是 branch.io 的新手,我没有在分支文档中找到任何相关信息。

谢谢,如有任何帮助,我们将不胜感激。

您应该首先为每个用户设置一个身份,以跟踪每个用户在您的应用中的各种活动。您可以在 Android 应用程序中将身份设置为:

Branch.getInstance().setIdentity("your_user_id");

要了解更多信息,您可以查看 Branch 文档 here

然后您可以使用 Branch 的 public API 通过证明先前设置的身份来访问每个用户的推荐奖励或推荐历史。

curl -XGET 
'https://api.branch.io/v1/credits?branch_key=<Branch_key>&identity=<user_ID>'

您还可以使用 /credithistory 端点

读取此用户的整个推荐历史记录
curl -XGET 
'https://api.branch.io/v1/credithistory?branch_key=<branch_key>&identity=<user_ID>'