I created a Facebook application, and I get this error:
Fatal error: Uncaught OAuthException: Invalid OAuth access token signature. thrown in /var/www/customers/vh-394/web/home/dev.a-soft.hu/ssl/api/facebook/xzona/sdk/src/base_facebook.php on line 1106
I'm new with developing Facebook applications and have lost the "App domain", "Site URL", "Canvas URL", "Secure Canvas URL" settings.
Probably there are some URL-settings error, but I don't know exactly how secure URLs work, and how Facebook authentication works.
Can anyone please help me about how to set these URLs above and how I can correct this error?
Thanks
EDIT:
There is a game I'd like to integrate into Facebook, so FB users can play with it, share points, etc. You can find this game here:
https://ssl.a-soft.hu/api/facebook/xzona/_index.php
If you look at this page, you can see me and some of my FB friends, but it's not real, I just learned how FB stores data in arrays so I generated them. In this file there is no connect to FB, or any FB scripts.
The real file is index.php
, where everything happens. Some months ago I started to create this app using Heroku, but then I bought real ssl domain.
Anyway, the way that my app tries to connect with FB, authenticating it, is the way that Heroku uses. So it includes "AppInfo.php", "utils.php", "FB sdk" (as Heroku), but I don't know if I failed something to use correctly.
On FB dev page, I didn't fill "App Domains" field, and under "Select how your app integrates with Facebook", I checked only "App on Facebook". In there I filled the fields exactly like this:
Canvas URL: https://ssl.a-soft.hu/api/facebook/xzona/ Secure Canvas URL: (same) Canvas Page: apps.facebook.com/xzonahu
And now I still have the same error:
Fatal error: Uncaught OAuthException: Invalid OAuth access token signature. thrown in /var/www/customers/vh-394/web/home/dev.a-soft.hu/ssl/api/facebook/xzona/sdk/src/base_facebook.php on line 1106
Hope you can help! :)