php - Facebook : Invalid or no certificate authority found, using bundled information -


facebook login not working in php application.i error in error log invalid or no certificate authority found, using bundled information

i tried find answer here, nothing worked. enabled facebook login , created app on facebook site.curl enabled , entered proper facebook id , secret in application configuration file.

problem :

when click login button, facebook console opens , take permission access information on facebook. after i've done that, nothing happens , browser switches between facebook , application , after few minutes shows "two many redirects".

this far, please let me know if im doing wrong, or if forget something:

  1. add in base_facebook.php

    curlopt_ssl_verifypeer => false curlopt_ssl_verifyhost => false 
  2. create file called fb_ca_chain_bundle.crt in facebook-login folder , add content here: https://github.com/facebook/facebook-php-sdk/blob/master/src/fb_ca_chain_bundle.crt

any immediate highly appreciable. thanks.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -