Working examples
This section provides Flex ActionScript 3.0 examples that
use the Social API to do the following tasks:
Logging in
Getting User information
Getting Friends information
Updating status
Publishing newsfeed (basic)
Publishing newsfeed (advanced)
Sending notifications
To make the examples work in your environment, do the following:
Copy the example code and paste it into your application.
Replace the API Key in the code with the value of your API
Key.
Make sure that your web page loads from a web server that
uses a DNS name (for example www.mysite.com and not localhost).
If necessary, you can use your hosts file to map a DNS name that
points to the web server on your local machine.