Answer the question
In order to leave comments, you need to log in
Facebook - how to invite friends using Graph API from AS3 (Flex application)?
I decided to master Facebook for creating applications. The test application normally logs in, initializes.
1. I try like this:
Facebook.api("/me/friends",getFreinds);<br/>
<br/>
protected function getFreinds(result:Object, fail:Object):void<br/>
{<br/>
trace ('result2' + result.id); //undefined<br/>
}
protected function button1_clickHandler(event:MouseEvent):void<br/>
{<br/>
Facebook.callRestAPI('friends.get', listFreinds);<br/>
}<br/>
protected function listFreinds(event:ResultEvent):void<br/>
{<br/>
fr.text = event.result.toString();<br/>
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question