facebooksdkactionscriptintegration

Actionscript 3 Facebook integration


I am developing a flash game and I want to integrate it with Facebook. It should be very simple integration. My app only need username and e-mail address. I searched the web not I still don't know how to do it. It seems to me very complicated. All I want is to connect my app to Facebook through Actionscript SDK, with few simple functions. Can someone help me with a code to do that...I'll be very thankful guys :-)


Solution

  • Well, it's a general question, but here are a few links that might help steer you in the right direction. The first link has the SWC library and some examples:

    Facebook ActionScript API resources:

    On their page, Adobe links to a tutorial / walkthrough for building a mobile Facebook app that's pretty helpful, though it expands on a desktop-based article and references it regularly, so that can be a bit confusing, but it does get the job done.

    Then you need to understand the Facebook Graph API - basically Facebook passes around objects that contain data pertaining to the user, their friends, etc (and of course, passing around this data is subject to the permissions your app has setup). Facebook provides an online tool (Facebook Graph API Explorer) that let's you explore these objects for your own account.

    Pouring over this information, I got my first flash-based mobile app talking to Facebook in a few hours. There you go, ask a generic question, get a big swath of links to read that are only semi-related to your question. =D