I am trying to develop a facebook app written in Python running on Google App Engine, so i need to make my http://localhost:8080 to https://localhost:8080 since facebook is asking for a Secure Canvas URL how can i make https in localhost:8080 ?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
I highly recommend deploying with nginx and gunicorn. Super-easy, and you can just make a self-signed cert to use locally. Much faster and easier than Apache.
Have a look here . I think this will answer your question
Add this to your app.yaml
more reference here
I use stunnel to proxy my https request on localserver. I run my localserver on 127.0.0.1:8000 and have configured stunnel with
so it responds to https on 127.0.0.1:8001. I have configured the FB app with the above 2 ips. Works nicely. For windows, you can find the installer at here
You need to configure 2 facebook apps. 1 for the production. 1 for the local. Use the host ip to return different APP_ID for different apps on local and production.
From the docs:
You can star issue 960 to request that support be added. Until then, my advice would be to run Apache or lighttpd as a proxy to the development server, and enable HTTPS on the front-end service only.