PublishPost method example for Actionscript API Facebook connect required

Posted by freddelm on Stack Overflow See other posts from Stack Overflow or by freddelm
Published on 2009-08-13T10:48:50Z Indexed on 2010/03/22 0:41 UTC
Read the original article Hit count: 452

I established an extended permission with Facebook connect, works like a charm, but i just can't seem to publish messages on my wall.

i keep getting this error: error code 100: Invalid parameter

my code:

var message:String = "test facebookconnect";
var publishpost:PublishPost = new PublishPost(message, null, null, null);

publishpost.addEventListener(FacebookEvent.COMPLETE, function(e:FacebookEvent) {
    MonsterDebugger.trace(this, e);
});

publishpost.addEventListener(FacebookEvent.ERROR, function(e:FacebookEvent) {
    MonsterDebugger.trace(this, e);
});

publishpost.addEventListener(FacebookEvent.CONNECT, function(e:FacebookEvent) {
    MonsterDebugger.trace(this, e);
});


fldFacebook.post(publishpost);

Any clear examples/tutorials would help a lot in how to use this publishpost with the actionscript API

thanks in advance.

© Stack Overflow or respective owner

Related posts about facebook-connect

Related posts about actionscript