Facebook API
http://www.facebook.com/login.php?api_key=YOUR_API_KEY&v=1.0
http://mycalback.com/url?auth_token=abc123
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 uid2 of 10