Facebook客户ID是否可以安全地投入公共存储库?

发布于 2025-01-26 10:57:41 字数 106 浏览 3 评论 0原文

我正在使用Android应用程序,并在strings.xml文件中使用app_id和client_id。似乎App_ID可以安全提交,BUS是客户端_ID吗?对不起,如果这是重复的,请感谢任何帮助!

I'm working on an Android app and have an app_id and a client_id in a strings.xml file. It seems the app_id is safe to commit, bus is the client_id? Sorry if this is a duplicate, any help is appreciated!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱情眠于流年 2025-02-02 10:57:41

是的,可以肯定地投入公共存储库。来自官方文档

客户端令牌是一个标识符,您可以嵌入本机移动二进制文件或桌面应用程序以识别您的应用程序。客户令牌并不是要成为秘密标识符,因为它嵌入了应用程序中。

强调我的。

Yes it is safe to commit to a public repository. From the official documentation:

The client token is an identifier that you can embed into native mobile binaries or desktop apps to identify your app. The client token isn't meant to be a secret identifier because it's embedded in apps.

Emphasis mine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文