Log into Facebook with Adobe AIR (without leaving the desktop)

This entry was posted in AIR, ActionScript, Facebook, Flex. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

10 Comments

  1. mark
    Posted January 29, 2008 at 11:28 am | Permalink

    hi,
    nice article. A quick question, can i write the same app in flex3 and host it on my website.

  2. Posted January 29, 2008 at 11:47 am | Permalink

    Hey Mark, yes but… you can’t use the HTML component in a Flex app. Other than that using the Adobe Facebook API to login is pretty much the same.

  3. mark
    Posted January 29, 2008 at 11:00 pm | Permalink

    Thanks for the quick reply,

    Are you aware of any counterpart for html control in flex 3 ?

  4. Posted January 29, 2008 at 11:22 pm | Permalink

    I only know of a (fairly expensive) commercial component http://drumbeatinsight.com/htmlcomponent

    I’m not sure it it has the same listeners for detecting page changes etc.

  5. mark
    Posted January 30, 2008 at 8:23 am | Permalink

    Thanks man,

    I found another component IFrame (on flex.org) which can display an HTML page, but I will have to find out a way to detect change in URL (location change). Let see if I can get that done, then only I will start using ur code.

    I have another requirement, For Facebook auth authorization, I want to display a 320*250 px HTML page only, Is there a way to resize the Facebook app authorization page in that size without any scrollbars.

  6. Posted January 30, 2008 at 8:37 am | Permalink

    You can’t resize the facebook page but with the HTML component you can crop a page, so you could just show the login area.

  7. Yui
    Posted February 26, 2008 at 3:36 pm | Permalink

    Hi,

    I got the Error #1014: Class flash.events::NativeWindowBoundsEvent could not be found when compiled your project with Flex 3. How to fix it?

  8. Posted October 20, 2008 at 11:59 pm | Permalink

    This is useful info. Thanks for sharing the code. Will try something new with it.

  9. Bruno
    Posted November 11, 2008 at 9:35 am | Permalink

    I really want to get this working but I do not know how compile everything on Flash CS4. Please help!

    Best
    Bruno

  10. Posted April 25, 2009 at 5:05 am | Permalink

    I’m trying create facebook login from air by using adobe flash cs4. But i can’t do it. Can u help me to find out the problem or tell me how can i start from adobe flash cs4.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word