title: How to get use id in facebook graph API using user email and password?
body: <p>I am working on facebook application in java, and i succeed to retrive the access_token. </p>
  
  <p>Now i want to pull for example the user feed but i dont have the user id <a href="https://graph.facebook.com/userid(or" rel="nofollow">https://graph.facebook.com/userid(or</a> me)/likes?access_token=...</p>
  
  <p>Yes, I know user id could be replaced by 'me', but my app is a web app, user just input his user name and password in our frame, not facebook OAuth Dialog which is for user authentication and app authorization, so I think facebook should do not know who is me, so I need user uid. In previous implementation, I could use user email and password to get user id and session key by Facebook Rest API, but how could I get it by Graph API by user name and password?Is there a way to do that?</p>