facebook:How to support SSL for your GAE-based-FB apps
Posted: 2011/05/20 Filed under: Facebook Leave a comment »Recently, message below will show up when you use fb via https://facebook.com and try to use app which not support SSL.
Switch to regular connection (http)?
Sorry! We can’t display this content while you’re viewing Facebook over a secure connection (https).
Would you like to temporarily switch to a regular connection (http) to use this app?
You will have a secure connection upon your next login.
So facebook app developers must use SSL. When you develop apps with Google App Engine, you need to add “secure:optional” to your handlers. “Optional” supports both http and https. It switches protocol automatically. My apps which were made with Google App Engine work fine.
handlers:
- url: /youraccount/.*
script: facebookapp.py
secure: optional
Advertisement