title: android - facebook and twitter authentication. how to log into php web server from android application using facebook and twitter sdk
body: <p>My project has two parts, php web server and Android mobile application. The mobile application posts data (thread topics) to the web server backend using implemented web service.
   User can also register from the android client app. I want to implement login with facebook feature to enable the user to login using facebook account AND POST from the android client. I implemented the android sdk integration and I can get the access token there. what I miss is how to make the android login to the web server using facebook. </p>
  
  <p>Posting topics to the server requires user registration, does that mean I should register the user when login with facebook ? the normal registration fields contains user name and email. I think if I want to login with facebook I should modify the registration mechanism to exclude the username and enable only login with email.</p>
  
  <p>What is the mechanism (in the server side) to implement this ? will it be the same with twitter ?</p>
  
  <p>Thanks a lot.</p>