简体   繁体   中英

Using https with localhost wamp

I am trying to run facebook App from my localhost .I made the canvas URL and secure Canvas URL to http://localhost/myapp and https://localhost/myapp .but the link http://localhost/myapp doesn't even work at my localhost.I enable mode_ssl and php_openssl extentions as well.I read different tutorials on internet but all invain. Anyone who already tested facebook apps on localhost. Thanks

If you want to do it properly, try following this tutorial:

http://www.phpjoel.com/2011/04/07/installing-ssl-using-openssl-on-a-wamp-localhost/

The issue isn't anything to do with Facebook, so just concentrate on getting it without facebook first.

I haven't bothered making a self signed certificate to test facebook apps, what I have done though is make sure secure browsing is turned off on facebook. Then you should be able to hit the http://localhost/myapp and it won't redirect you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM