I am creating an iPhone application that interacts with a web server (Java webapp) using REST (XML over http). In my prototype, I used http basic-authentication to allow access and identify the user using the username and password. Since my application must have friendships and profiles, I want to use facebook-connect, so I do not need to implement it, and users do not need to manage friends and profiles twice. When I use fb-connect, I can even do without all the basic user controls, for example, create a new user, change the password, etc.
So here is my question: is it possible to use facebook-connect as my only user authentication? And even more important: how can I authenticate a user while communicating with a web server?
To clarify: I do not want to associate a facebook account with my user accounts, I want to use it instead.
source
share