Hello everyone, for the last 3 days i have been trying to paste a link on facebook using a simple app that i created. Just to test how is dealing with facebook using as3. But still cant paste a simple link object. Any ideas?
Regards,
Leo.
Here is the code:

Code:
import com.facebook.graph.Facebook;
import com.facebook.graph.data.FacebookSession;
import flash.events.Event;

b_1.addEventListener(MouseEvent.MOUSE_DOWN, onClick);
b_2.addEventListener(MouseEvent.MOUSE_DOWN, onStart);
b_3.addEventListener(MouseEvent.MOUSE_DOWN, myPost);

b_2.visible = false;
b_3.visible = false;
function onClick(e:Event):void
{
    Facebook.init("xxx", onFacebookInit);
    b_2.visible = true;
}
function onFacebookInit(session:FacebookSession, error:Object):void
{
    if (session)
    {
        status_1.text = "Sucesso init";
    }
    else
    {
        status_1.text = "ERRO init";
    }
    status_1.text = "algo";
}


function onStart(e:Event):void
{
    var requiredPermissions = new Array();
    requiredPermissions.push("user_about_me");
    requiredPermissions.push("publish_stream");
    
    var options:Object = new Object();
    options.perms = requiredPermissions.toString();
    
    Facebook.login(onFacebookLogin, options);
    b_3.visible = true;
}

function onFacebookLogin(success:Object, fail:Object):void
{
    if (success)
    {
        status_2.text = "Sucesso Login";
    }
    else
    {
        status_2.text = "ERRO Login";
    }
    status_1.text = "algo 2";
}

function myPost(e:Event):void
{
        var options:Object = new Object();
        options.name = "I found it!!!";
        options.caption = "Found it";
        options.description = "I found what i was looking while using this app!";
        options.link = "http://apps.facebook.com/xxx/";
        options.picture = "http://www.xxx.com/fb_tests/logo_ct.jpg";
        Facebook.api("me/feed", responseHandler, options, "post");
}

function responseHandler(success:Object, fail:Object):void
{
    if (success && success.id)
    {
        
    }
}