Hi,
Everything is working fine except when user returns back from authenticating with Facebook, it takes alot of time and after this it returns this error.
Authentication error: Opauth returns error auth response.
Array
(
[error] => Array
(
[provider] => Facebook
[code] => access_token_error
[message] => Failed when attempting to obtain access token
[raw] =>
)
[timestamp] => 2015-03-31T18:06:42+05:00
)
I'm on localhost and application is configured correctly on fb. Also i have checked php.ini and extension=
php_openssl.so is
enabled and
allow_url_fopen is also
On. Also added a backslash with the callback url, but still it is not working.
This is my callback url (
http://localhost/testing/facebook_2/Opauth-bundled-example/callback.php/ ) and after redirection from facebook, callback becomes this (
http://localhost/testing/facebook_2/Opauth-bundled-example/callback.php/#_=_ ).
I have searched and applied every possible solution I found but no success. Please help.
Thanks
Abdul Mannan