facebook:How to support SSL for your GAE-based-FB apps

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

(Secure URLs)

Advertisement


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.