通过AS3 Facebook的帆布iframe应用程序邀请好友 [英] Invite friends through AS3 facebook canvas iFrame app
本文介绍了通过AS3 Facebook的帆布iframe应用程序邀请好友的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们正在开发的AS3应用程序(IFRAME)的过程。用户可以邀请来自自定义弹出(内部闪存)朋友。 目前,我们正在在弹出的好友列表,但不能邀请朋友。
We are in process of developing an AS3 app (iframe). The users can invite the friends from the custom pop-up (inside flash). Currently we are getting the friendlist in the pop-up but cant invite the friends.
请帮忙解决
得到这个
var dat:Object = new Object();
dat.message = msg;
dat.from = _user_fbid;
dat.to = fid;
dat.title = title;
Facebook.ui('apprequests', dat, callBack);
想给它一个尝试和更新。同时,如果任何人知道,如果这是正确的。
Would give it a try and update. Meanwhile if anyone knows if this is correct.
更新
这为我工作。
推荐答案
这code对我的作品。
This code works for me.
var obj:Object =
{
message: "your message",
filters: ["app_non_users"],//only if you need it
title: "your title",
to: ID //if you don't fill this, you can see the friends selector
};
Facebook.ui("apprequests", obj, callBackFunctionOrNull, "iframe");
这篇关于通过AS3 Facebook的帆布iframe应用程序邀请好友的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文