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

Can I use one Facebook app for multi websites #795

Closed
engharb opened this issue Apr 25, 2017 · 5 comments
Closed

Can I use one Facebook app for multi websites #795

engharb opened this issue Apr 25, 2017 · 5 comments

Comments

@engharb
Copy link

engharb commented Apr 25, 2017

question?

I have two Facebook apps for one test domain (http://testdomain.de), each app has its website url as (http://testdomain.de/auth/fb, http://testdomaibn.de/loginAuth/fb). I get error time to time from facebook may be because I am using two different apps in my application (the following error: User profile request failed! Facebook returned an error: Invalid appsecret_proof provided in the API argument.).
My question: is it possible to create one app for one domain but with different website url?

Version and provider

v2.x-dev

Is this an issue with a provider? If yes, which one?
fb, twitter

@ApacheEx
Copy link
Member

ApacheEx commented Apr 25, 2017

thank you for more info,

you have one domain, so it should be one app. I'd say yes, it's possible. Just go to https://developers.facebook.com/apps/YOUR_APP/fb-login/ and provide two urls in Valid OAuth redirect URIs section, hope it will help.

But the questions is why do you use two urls which do the same action (login by facebook)?

@engharb
Copy link
Author

engharb commented Apr 25, 2017

I have converted to use one FB app, but I still have getting the following error: User profile request failed! Facebook returned an error: Invalid appsecret_proof provided in the API argument.

Do someone have info?

@ApacheEx
Copy link
Member

please check once more (HA config) if App Secret and App ID are correct and belong to your FB App

@ApacheEx
Copy link
Member

if it still fails, please make sure that Require App Secret is disabled. You can go here and check

https://developers.facebook.com/apps/YOUR_APP_ID/settings/advanced/

@ApacheEx
Copy link
Member

seems fixed and no other questions appear, I'm close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@StorytellerCZ @ApacheEx @engharb and others