Facebook API

Authentication for Web Apps

  1. Get API key for your app, set the callback URL.
  1. Tell user to log into http://www.facebook.com/login.php?api_key=YOUR_API_KEY&v=1.0
  2. He is then taken to the callback URL with an appeded token: http://mycalback.com/url?auth_token=abc123
  3. Use this auth_token and send it to auth.createToken?api_key=YOUR_API_KEY&sig=MD5sig&v=1.0&auth_token=abc123 which will return a session_key and uid
  4. Use this session_key in all future requests. Use uid when needed.

José M. Vidal .

2 of 10