views:

35

answers:

1

Hello!

How can I send a message to the currently logged in user from inside a Flex application contained in a Facebook iFrame and using the official AS3 Library for Facebook please?

+1  A: 

To date the Graph API is the easiest way to work with facebook.

http://code.google.com/p/fbas/

It's far from a complete implementation, but Graph is so simple it shouldn't take long to implement any features you need.

NOTE: When I've used it I ported the javascript portion of the example code on the project's main page to AS3 & ExternalInterface. It reduced external dependencies to zero (with the exception of swfobject)

Ben
Thank you for your answer.Would it be possible to provide a very simple example of sending a facebook message to someone? The Flex part is clear, the Graph API part isn't.
Francisc