Login using Facebook account

I am working on an iPhone app using Adobe Air. I want users to login using Facebook account, but I cannot figure out how to do this.

I have found a link : http://code.google.com/p/facebook-actionscript-api/downloads/list

But I don’t know how to incorporate it.

I simply want users to fill facebook username and password to login.

Any help would be appreciated.
Thanks