Dsadsadsa Sdasdasda
Dsadsadsa Sdasdasda

Reputation: 45

Need to set up SSL for facebook site apps to work, any suggestions? I do not need to protect passwords or anything

facebook is forcing apps to use HTTPS, i have been looking in to openSSL, but i really cannot get my head around on how to install it, i am using godaddy and it runs on a linux server, i dont think i can execute from any command line.

I need to have a valid HTTPS link, a self signed certificate it OK, but i cannot seem to get one up on GoDaddy, can i redirect all HTTPS to HTTP, would that work? via .htacess

Any suggestions are welcome!

Upvotes: 0

Views: 226

Answers (1)

Xethron
Xethron

Reputation: 1156

I had the exact same problem Yesterday, and quickly found a way around this without having to move my application to a server with SSL.

Facebook only validates the starting URL to be https://..... however, you are not forced to use ssl from there on forward. Thus I simply created a free Heroku account (you can use any other hosting provider that supports SSL) and added a index.php file with the following code:

<?php
header( 'Location: http://my.app.url' );

When the IFrame is loaded, it will automatically redirect to your application hosted on a non-ssl server and will work without any problems.

For more information you can check out my blog post http://www.xethron.co.za/building-a-facebook-app-on-a-host-without-https-ssl-support

Upvotes: 1

Related Questions