Facebook 应用程序请求“推荐”
我正在用 PHP 开发 facebook 游戏,我遇到的问题之一是请求朋友玩。
请求系统的目标(除了让他们玩之外)是让发送请求的用户“推荐”他们。
我想要完成的是让被请求的用户接受邀请,然后在数据库(MySQL)中被列为推荐人。数据库将通过用户授权应用程序后 ping 的授权后页面进行更改。
所以它会是这样的:
A向B发送请求 B 接受请求 添加后页面使 B 成为 A 的推荐。
我不确定这将如何准确地传递。我希望推荐更改是自动的(当 B 授权该应用程序并加入时)。
有什么想法吗?
I am working on a facebook game in PHP, and one of the things I'm having trouble with is requesting friends to play.
The goal of the request system is (aside from getting them to play) to have them be "referred" by the user who sent the request.
What I want to accomplish is have the user who is requested accept the invitation, and then be listed as a referral in the database (MySQL). The database would be changed via the post-authorization page that is pinged after the user authorizes the app.
So It would be like this:
Person A sends request to B
B accepts request
Post-Add page makes B a referral of A.
I'm not sure how exactly that would be passed along. I would like for the referral change to be automatic (when person B authorizes the app and joins).
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将推荐 ID 添加到您设置的 facebook 授权后重定向到的 url
add a referral id to the url you set for facebook to redirect to after authorizing