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: FacebookStrategy config parameter #36

Open
chadiv opened this issue Mar 5, 2014 · 1 comment
Open

Error: FacebookStrategy config parameter #36

chadiv opened this issue Mar 5, 2014 · 1 comment

Comments

@chadiv
Copy link

chadiv commented Mar 5, 2014

getting this error
Error: FacebookStrategy config parameter for "xxxxxxxxxxxxxx" expected.
File: C:\xampp\htdocs\abcde\app\Plugin\Opauth\Vendor\Opauth\lib\Opauth\OpauthStrategy.php
Line: 201

can you tell me how can i solve this issue??

@Kalahee
Copy link

Kalahee commented Apr 13, 2016

I know it is an old post, but I couldn't find this question answered anywhere. Here for those who found this thread because of this issue.

I have the same issue and I think the confusion is that "xxxxxxxxxxxxxxxx" is supposed to be 'app_id' and 'app_secret' and not actual id and secret values. Opauth is looking for those 'keys' in 'strategy' array and I don't think the actual app id is supposed to be a key in that array. In short, we have changed $expects to actual values when it is meant to be keys it will have to look for in the 'strategy' array.

If it was another strategy,let's say 'google', $expects would be 'client_id' and 'client_secret', this changes based on the API used.

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

2 participants