Kretzu Cata
Kretzu Cata

Reputation: 31

Facebook request in as3 sdk

I can't send facebook request as the popup window loads empty in firefox and gives a HTTP 500 error in iExplorer. I'm using the as3 sdk and this the code i have:

function gotoInvite(e:Event):void{
var sendTo:String=e.target.vstId;
var fbReq:Object=new Object;
fbReq.message='test request.';
fbReq.title='Some test';
fbReq.to=sendTo;
Facebook.ui('apprequest',fbReq,inviteResult,'popup');
}

I'm thinking the params aren't set corectly but i can't find a good example. I want to use the request dialog for just 1 id... Please help

Upvotes: -1

Views: 753

Answers (1)

Kretzu Cata
Kretzu Cata

Reputation: 31

The correct syntax is:

Facebook.ui('apprequests',fbReq,inviteResult,'popup');

Upvotes: 1

Related Questions