Search code examples
androidflashair

how to sign in on facebook from adobe flash game?


I have developed a flash game for android. now the client's requirement is to connect with the social media like Facebook. Meaning : add a button to sign in on Facebook from that application itself. how does it possible?

Can any one help me here?


Solution

  • 1)Register for a developer account on facebook.
    https://developers.facebook.com/docs/plugins/registration/

    2)Create a new facebook app.
    https://developers.facebook.com/apps/

    3)Download Facebook-ActionScript API and store the .swc file in the libs folder in your project. http://code.google.com/p/facebook-actionscript-api/downloads/detail?name=GraphAPI_Mobile_1_8_1.swc

    4)Write facebook login code.
    Maybe these links help you.
    http://rjdesignz.com/adobe-flex/facebook-api-in-flex-mobile-air-app/
    http://today-only.net/facebook_mobile/