Test Facebook App from Localhost -


can use localhost test facebook app. have tried following, comes no result.

  1. i have tried changing windows host file under(path : c:/windows/system32/drivers/etc/), , changing httpd-vhosts.conf find(path : xampp/apache/conf/extra/).

    i have changed localhost local.sitename i.e http://local.sitename/ using above.

  2. secondly, tried use following code

    $ch = curl_init(); curl_setopt($ch, curlopt_ssl_verifypeer, false);  curl_setopt($ch, curlopt_ssl_verifyhost, 2); 

    to stop ssl verification.

  3. thirdly, tried put http://localhost:9000/ call url in facebook app.

but getting same error: ssl certificate problem.

verify ca cert ok. details: error:14090086:ssl routines:ssl3_get_server_certificate:certificate verify failed

can please help, think localhost problem testing facebook app, , note working in cloud environment.

could please me testing facebook app on localhost!

thanks in advance.

if check facebook graph api register app, show kind of url (domain) accept. change hosts file accordingly. think accepts .com urls


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -