I have the following website
http://localhost/showmecow/dashboard/
And inside I have a PHP script running from an Iframe. The script is located at
http://localhost/showmecow/phpscript
I try to connect to FB, when I put the redirect URL as http://localhost/showmecow/phpscript it works fine, FB redirects back to this script with $_GET filled with code field and state field but now this script is shown on its own and not in the Iframe.
when I put the redirect URL as http://localhost/showmecow/dashboard/ it does not work, FB redirects back to the dashboard with empty $_GET and when I call getSessionFromRedirect it fails in isValidRedirect.
Any ideas on why it may happen?
Thanks