Facebook Connect - Mobile

Posted by Jayrox on Stack Overflow See other posts from Stack Overflow or by Jayrox
Published on 2010-04-04T07:58:15Z Indexed on 2010/04/04 8:03 UTC
Read the original article Hit count: 437

I am currently in the process of creating a mobile version of my web app. The app is being developed with Facebook's PHP Client Library.

The issue:

I am using the following mobile url to allow users to log in using the mobile devices: http://m.facebook.com/tos.php?api_key=APIKEY&v=1.0&next=http%3A%2F%2Ftweelay.net%2Fm.php&cancel=http%3A%2F%2Ftweelay.net%2Fm.php

APIKEY being my app's actual Facebook API key.

In the url I am telling Facebook to redirect the user back to http://tweelay.net/m.php when the user signs in or clicks cancel on the log in screen. I am pulling my hair trying to figure out why it keeps sending the user to http://m.tweelay.net/m.php which is currently an invalid end point.

I have gone through all of my app's settings on Facebook and I cant find any that reference http://m.tweelay.net and going through all of my source code I cant find any that reference the m. sub-domain either.

© Stack Overflow or respective owner

Related posts about php

Related posts about facebook