My application is now finished, so to put it online I disabled ‘sandbox mode’ in application’s page. But it’s not working, if i’m logged as developer i can run the application, else i get a 404 error… Facebook told me it could take several minutes, but i disabled ‘sandbox mode’ at 11am !! Does Facebook need to validate my app?
Share
I found the solution :
we can’t use header(‘location:xxx.php’) for asking app authorization, (because $loginUrl is null) it must be like this :
BUT to redirect users into the canvas app i must use
and not
otherwise FB redirect the user out of the canvas view.
And another tip : if you store the ‘user id’ into a db use a ‘big int’ column and not a ‘int’ column like i did!
Hope it will help people