如何将数据存储到 Facebook 用户的帐户中?
我正在开发一个与 Facebook 集成的 PHP/Javascript 应用程序。
当用户同意与我的应用程序共享他的信息时,我需要存储有关该用户的一些小数据,以供将来使用。 所以,是的,我可以在我的服务器上使用一个简单的 MySql...但是我想将一些信息存储到我的 MySql 服务器中,以及我想存储的其他信息(以“某种方式”... )进入用户的 Facebook 帐户(换句话说,进入 Facebook 的数据库)。
也许,我可以将此数据存储为“注释”消息或其他内容,但在这种情况下,用户必须与我的应用程序共享他的注释消息,而我不希望这样。
有什么办法可以做到这一点吗?
非常感谢,如有任何建议,我们将不胜感激。
编辑:谢谢维杰的帮助。我想将数据添加到 Facebook 中的用户帐户,仅出于隐私和隐私的目的。安全目的...因为我认为没有存储数据的最佳位置。 也许我只是有点偏执:-)因为我的应用程序只是一个小游戏,并且不存在大的隐私问题,但我想将数据存储在安全的地方。我不确定大型托管场中的 MySql 数据库是否安全,因此我正在寻找不同的技术解决方案。谢谢。
I'm developing a PHP/Javascript application integrated with Facebook.
When a user accepts to share his information with my application, I need to store some small data about this user, for a future purpose.
So, yes, I can use a simple MySql on my server... but there are some information I'd like to store into my MySql server, and others information I'd like to store (in "some way"...) into the user's Fb account (in other word, into the Facebook's database).
Maybe, I can store this data as a "Note" message or something, but in this case, the user must share his Note messages with my application, and I don't want this.
There is any way to do that?
thank you very much, any suggest is appreciated.
EDIT: Thank you Vijay for your help. I'd like to add data to the user's account in facebook only for privacy & security purpose... because I think there is no best place to store the data.
Maybe I'm just a little bit paranoid :-) 'cause my application is just a little game, and there is no big privacy issue, but I'd like to store the data in a safe place. I'm not sure a MySql database in a big hosting farm would be a safe place, so I'm looking for a different technical solution. Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的应用程序可以在用户墙上写帖子等,但您不能只是在他们的 Facebook 帐户上随机存储数据。
为什么你不信任 MySQL?设置强大的凭据,并正确锁定它,你应该没问题。确保您也选择了信誉良好的托管公司。
Your app can write posts on a users wall and things like that, but you can't just randomly store data on their facebook account.
Why are you distrusting of MySQL? Setup strong credentials, and lock it down correctly and you should be fine. Make sure you go with a reputable hosting company as well.