In my previous post you saw how to “share” your flash applications into several platforms by using the Flash Platform Distribution Service. But one of those was Facebook.
Now there’s a different way too. You can really “embed” your application within it’s own page. A Facebook Application such as the Rive.be Widget (and click “Add to my Page”). In real, it is just a PHP file (containg HTML with Flash) embedded within an iFrame into Facebook. The application itself is still loaded from your own hosting.
Now you can pass trough the persons firstname, lastname, birthday, etc. by flashvars into your Flash application. Giving him/her a personal greeting for example.
Just follow these simple steps to get yourself started.
I haven’t used the Facebook Connect AS3 API once. That’s for another blogpost, when I will implement it into my Flex 4 application.
Confusing things in Facebook:
- Much facebook pages are confusing in the beginning:
- a personal profile page (only visible to friends)
- a company profile page
- an application profile page
- an application developer settings page
- Cannot add an application for a 2nd time?
- first time you add an application to your page =ok
- you remove it from your page =ok
- Now try to add it again. = My pages list is now empty? Why is that? And the widget it not listed in my Settings->applications too?

