通过AS3 Facebook的帆布iframe应用程序邀请好友帆布、应用程序、好友、Facebook

2023-09-08 13:59:40 作者:诉不尽离人话

我们正在开发的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");
 
精彩推荐