Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while getting getAccessToken #3

Open
sarath704 opened this issue Mar 4, 2016 · 5 comments
Open

Error while getting getAccessToken #3

sarath704 opened this issue Mar 4, 2016 · 5 comments

Comments

@sarath704
Copy link

Hi ,
I hit the below url

http://localhost:3000/getAccessToken

I am getting the below error

Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

Help me with this

Thanks,
Sarath

@Adriani6
Copy link

Adriani6 commented Mar 4, 2016

It's an error with the Facebook app you've created. I had the same issue and I had to transfer it to my web server with a proper domain for it to work.
In your Apps Settings, The field "App Domains" must be a domain of the server, for me it's "adriani6.co.uk" then you need to fill in "Site URL" which for me is just "http:///adriani6.co.uk/".

I have to say, I've spent good hour figuring it out myself. Hope it helps.

@Skylion007
Copy link

Someone should really update the readme to reflect this.

@TorranceYang
Copy link

If you don't have an external domain, you can turn on "Embedded Browser OAuth Login" and add "http://localhost:3000" to your "Valid OAuth redirect URIs" to get this to work

@sambhav
Copy link

sambhav commented Nov 14, 2016

see this https://github.com/samj1912/fbrecog

@raindecastro
Copy link

Is there a fix for this already?

@github-staff github-staff deleted a comment from akashakki Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants