Flash bridge for Facebook Connect

Technology
Flash bridge for Facebook Connect
fbflash_20090213.jpg

Pieter Michels wrote a nice actionscript/javascript bridge that allows you to use Facebook Connect services within a Flash application:

It currently supports automatic login, retrieving friend list and friend information (can take a while), current application users, sharing a link on Facebook, posting a predefined story and updating your story (make sure you set the status permissions first).

I have deliberately chosen to fully implement the results in Flash rather than merely providing a wrapper for the Javascript calls and dealing with the result in Flash itself. At the moment I’m of course limited to the things I program in Flash (the calls and the results).

But as we have to deal with automatic login and javascript popups, this way was easier to integrate in a Flash website and, moreover, the Javascript library is built with a HTML website in mind. So, it allows you to use the same library in your average website and listen to any event that passes along (login, disconnects, friends, a status that has been set, …)

The code is all available on Github. It should be enough to get your started and if you need access to additional Facebook APIs, you can always incorporate them as needed.

Facebook Connect to Actionscript 3
Example Facebook Connect Flash App (pictured above)
FBFlashBridge at Github

2 thoughts on “Flash bridge for Facebook Connect

  1. Romi says:

    hello freind h r u

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK