I am creating an AIR app where I need to integrate twitter so that user can once login and then tweet messages from within the app. I have searched the internet for this and found some oAuth solutions where user is asked for an Access Pin. But not sure if it is the correct way of implmentation as one of the app on my Android phone(not in AIR, most likely Java) just takes my username password andmakes me post tweets. So anyone who can suggest me the correct way of implementing this?
Same for Facebook. For Facebook, the API opens the Facebook login window. Is there a way I can open my own login popup and post on user's wall anytime even if the AIR application is closed and started again?