Closed Ikhan closed 9 years ago
Did you provide your facebook app id ('client_id') in your config file?
yeah , everything is in place , when calling it returns "app_id is required" , I wonder any parameter should be passed in ..
When you call OAuth::consumer('SERVICE')
, you must match the exactly the key provided in the the oauth-4-laravel.php
.
For example:
// controller
$fb = OAuth::consumer( 'Facebook' ); // It is Facebook (not facebook, or faceBook ...
// config
'consumer' => [ 'Facebook' => [] ] // It is Facebook, should match either way.
It is case-sensitive.
I'm having the same problem ... and the case matches also ... what am i missing?
Sorry I was editing the wrong config file, my bad. It works fine now
Why does is say "The parameter app_id is required" for FB OAuth. Am I missing something or please advice me.
Thanks.