如何添加“向朋友推荐我们的 Facebook 页面”网站上的界面?
使用 FaceBook 的许多编程工具,如 FaceBook connect、graph api 等...
有没有办法在网站上创建一个表单来执行此操作:
I. 网站访问者登录到 FaceBook(从我的网站)
二。形式发生变化。网站访问者会看到按钮:
“邀请 Facebook 好友喜欢我们的 Facebook 页面”
III.表单更改为新界面。用户可以查看他的朋友、选择特定的朋友并向他们推荐 Facebook 页面。用户单击提交按钮。
四. Facebook 页面被推荐给朋友。数据被发送到自定义网站应用程序/数据库以跟踪提出建议的人的 Facebook 信息。
整个要点是,我们希望为那些将 Facebook 好友推荐到我们的 Facebook 页面的人们提供某种激励(免费产品),我们需要一种方法来鼓励和推荐他们的朋友。跟踪那个。
With the many programming tools from FaceBook, like FaceBook connect, graph api, etc...
Is there a way to create a form on a website that does this:
I. Website visitor logs into FaceBook (from my website)
II. Form changes. Website visitor is presented with button:
"Invite FaceBook Friends to Like Our FaceBook Page"
III. Form changes to new interface. User is able to view his friends, choose specific friends and suggest FaceBook page to them. User clicks submit button.
IV. FaceBook page is suggested to friends. Data is sent to custom website application/DB to track the FaceBook info of the person who made the suggestion(s).
The whole point of this is that we want to offer a people who refer their FaceBook friends to our FaceBook page some sort of incentive (free product) and we need a way to encourage & track that.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你可以参考这个来登录 Facebook 并了解用户是否已连接: http ://developers.facebook.com/docs/guides/web#login
要向用户呈现“邀请朋友”类型的界面,请参阅http://fbrell.com/xfbml/fb:server-fbml-multi-friend-selector
您会注意到 < code>标签采用包含
标签的内容属性。此标记包含接受邀请的人员将被定向到的 URL。您可以使用此 URL 来引用发送邀请的人。例如,通过添加带有 Facebook ID 的查询参数。You can refer to this for login with Facebook and knowing whether the user is connected or not: http://developers.facebook.com/docs/guides/web#login
To present the user with an "invite friends" type of interface refer to http://fbrell.com/xfbml/fb:server-fbml-multi-friend-selector
You will notice that the
<fb:request-form/>
tag takes a content attribute that contains a<fb:req-choice/>
tag. This tag contains the url where people accepting the invitation will be directed. You can use this url to refer the person who sent the invitation. By adding a query parameter with it's Facebook id for example.