Facebook RESTful API require_login() callback

Posted by skidding on Stack Overflow See other posts from Stack Overflow or by skidding
Published on 2010-03-24T00:19:23Z Indexed on 2010/03/24 0:23 UTC
Read the original article Hit count: 399

Filed under:
|
|
|
|

Hi,

I'm trying to authenticate a user through the RESTful API (not Connect) but I can't since the callback system does not work for me. I have a local app that creates the Facebook API object with my key and secret, then calls the Facebook API require_login() method; I am sent to Facebook login, I login, and then I am sent to http://www.facebook.com/login.php?auth_token=<...>, where there's another login with just a field for password (not username), I write it again, and after that I am redirected to normal Facebook home. What am I doing wrong? I have set the callback URL in the Facebook app proprieties. Does it have anything to do with the fact that it's localhost?

Thanks!

© Stack Overflow or respective owner

Related posts about facebook

Related posts about api