Facebook跟踪谁邀请谁 [英] Facebook tracking who Invited whom

查看:91
本文介绍了Facebook跟踪谁邀请谁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Facebook应用程序。让用户A邀请用户B,用户C也邀请用户B使用Facebook应用程序。



用户B点击用户C的邀请并接受。



我该如何检查?我想将转介给C用户。



我在Facebook论坛上找不到任何东西。



PHP SDK

解决方案

我想你正在使用FB本机窗口发送邀请。由于此窗口允许您设置按钮的URL,您只需将一些参数附加到URL。



例如,对于接受邀请按钮:

  http://apps.facebook.com/myappname/?invited_by=123456 

其中123456将是发送邀请的用户的FB uid。


I have a Facebook app. Lets say user A invites user B, and user C also invites user B to use a Facebook app.

User B clicks on user C's invite and accepts it.

How do I check this? I'd like to assign the referral to user C.

I can't find anything on Facebook forums.

PHP SDK

解决方案

I suppose that you are using the FB native window to send the invitations. As this window allows you to set the URL of the buttons, you can just append some parameters to the URL.

For example, for the accept invitation button:

http://apps.facebook.com/myappname/?invited_by=123456

Where 123456 would be the FB uid of the user who sent the invitation.

这篇关于Facebook跟踪谁邀请谁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆