How to make an App to switch to HTTP in facebook - facebook

I have a Facebook page, but I dont have a SSL with me, so its always with the HTTP connection. So when I open the App Page (Canvas), I get an error within the iFrame Error 501 (net::ERR_INSECURE_RESPONSE): Unknown error. which is obvious due to the FB calling for HTTPS version of the page. But I noticed that some pages ask for "Switch to Regular HTTP Connection" to view the page. I was wondering how to do that, I googled a lot but couldn't find the relevant information.
Thanks

Do you have a url set for https on your app's settings page? You should leave it blank if you don't have a valid SSL page yet, and then it should give you the prompt to switch to regular http. However, you will want to get an SSL certificate soon as Facebook is recommending users switch to always-on SSL and at some point SSL may be the only option.

"Switch to Regular HTTP Connection" is limited to admins (at least without so many scary warnings) so it's important that you get an SSL connection running if you're going to have an app on FB now.

I've recently Discovered the following error because the SSL was expired.
This webpage is not available
The webpage at https://example.com/facebook/ might be temporarily down or it may have moved permanently to a new web address.
Error 501 (net::ERR_INSECURE_RESPONSE): Unknown error.
Renewed the SSL and all fixed

Related

Facebook App loading blank page

I created an app on facebook, for my website. Now it loads for my but not for any one else, it just loads a blank page, so obviously ive done something wrong but i cant figure out what
any help would be great
here is the link to the app
http://apps.facebook.com/112963092176394/?fb_source=search&ref=ts
Your page doesn't have secure version served over HTTPS, so it fails for everyone who use "Secure Browsing" option on Facebook.
NOTE: SSL certificate is a requirement as of October 2011.
Firefox gives the following message regarding your SSL certificate when trying to connect to https://www.exoticsworld.co.uk/?fb_source=search&ref=ts:
Secure Connection Failed
An error occurred during a connection to www.exoticsworld.co.uk.
SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)
So see to it that you’l get that fixed. Ask your server admin (or whoever installed that certificate for you), if you don’t know what this is all about.

Facebook canvas redirects to main facebook page

I coded a stub application for Facebook.
When I'm trying access the app url (http://apps.facebook.com/myappname) it all works fine. It works from other servers as well.
However, a specific co-worker of mine is also trying to access it and he gets redirected to facebook.com
A day ago he was able to log-in, and we are not aware of any changes.
Thoughts, anyone?
This is common for when you don't have the required SSL server's url in the app settings. That other user that was redirected has allow only https set in his user preferences. Since you have no https version set, then he gets redirected away. If you do have the SSL server's url in your app settings, then the SSL cert may be bad. Many people try to get away with using a "fake" cheap SSL cert. The cert must be a real (read: expensive) one.

Facebook app with ssl certificate

Two weeks ago i bought a SSL Certificate for my domain. I have an app in Facebook and for Safari works fine but in Chrome the following message appears:
"Error 501 (net::ERR_INSECURE_RESPONSE): Error desconocido."
I have set the "Secure Canvas URL" in the configuration of the app in Facebook.
What's the problem?
I have just checked it out in Internet Explorer and Firefox and works fine.
In both browsers enter the game directly.
With respect the Certificate and app settings, the certificate is valid for www and the domain, and in app setting i just typed the domain name.
Well, the function from Facebook that arise the problem is:
FB.Canvas.setAutoResize();
I hope this could be helpful.
It is a known problem that Chrome handles this less elegant: http://code.google.com/p/chromium/issues/detail?id=87957
But that does not take away the fact that it should work with a valid certificate. Can you checn with a few other browsers, like IE and Firefox? Please get back when those give any indication of the underlying problem.
This problem happens to me for my app, but only on Chrome on Ubuntu (Chrome on Windows 7 is fine, and Firefox [version 13 at the moment] on Ubuntu is fine), and it only happens when secure browsing is forced on in Facebook (Account settings > Security > Secure browsing). By unchecking Browse Facebook on a secure connection (https) when possible, I no longer receive this problem.
Please downvote this answer (a lot, hahaha), because telling users to use a different operating system or to turn off secure browsing is not going to be received well! I'll report back if I come up with a real solution.
What's the problem?
Your SSL cert is invalid or not configured properly. This can happen for example when you use your domain with www in app settings, while the cert is ussued on a domain without www, etc. It can be something else misconfigured also.
I know it´s an old Thread but I just got a similar problem when facing some Free Hosts that uses shared SSL cert instead of Custom Domain Certs. On setting up your Canvas App, on "Secure Canvas URL", use the URL provided by the HOST instead of your custom URL.
Ex: If your host is openshift, they give an URL similar to -> php-blablabla.rhcloud.com. Use this one instead of blablabla.com (which would be the domain you paid for).
Hope this helps someone.
Cheers.

Are FBML apps required to provide HTTPS canvas url by 1st of October?

Since FBML apps canvas url(s) are not directly accessible by the end user, I suppose not , but can anyone confirm this ?
Confirm: "An SSL Certificate is required for all Canvas and Page Tab apps (not in Sandbox mode and not FBML)." See here: http://developers.facebook.com/docs/oauth2-https-migration/
Though I am currently getting mixed content warnings in IE and Firefox when using Facebook in https mode and then loading content over http in the app. So users of your app might get kinda bad feeling if you do not serve your content over https.
UPDATE:
Facebook:
"We have heard that there is some confusion about whether FBML apps
must support HTTPS. FBML developers still need to know whether users
are browsing Facebook over a secure connection since they need to
detect whether to serve iframe or video content over HTTPS. As a
result, FBML apps must obtain SSL certificates in order to serve this
type of content to users browsing over a secure connection. If you
have an FBML app, please obtain an SSL certificate for your app to
receive traffic from users browsing Facebook over a secure connection.
If you enable SSL for your FBML app, please make sure that your SSL
certificate includes all intermediate certificates in the chain of
trust as our SSL validation is strict. You can use third-party SSL
analysis tools (e.g., https://www.ssllabs.com/index.html) to check
your certificate status and fix any errors (and warnings). If your SSL
certificate has problems, you may see "Empty response received" error
when you load your FBML canvas app."
https://developers.facebook.com/blog/post/567/

Facebook iFrame tab problem with secure url (https)

i am making a facebook tab which using iframe to show the tab content from other url. Everything work fine but when users use secure http connection (https) the tab no longer loads and shows error saying page not secure.
The pages that the iframe showing is not using ssl. Do i need to have a ssl to show the page in secure connection or i have to change some setting in facebook?
You will need to buy an SSL certificate, make sure it is properly installed on your server, and make sure your the page is properly working over SSL (no warnings). Once this is setup, plug the SSL url of your page onto your fan page tab application settings, and it will work. You will want to do this as Facebook is continually encouraging users to enable the always-on SSL option on their account, and at some point SSL may be the only option on Facebook and they probably won't give you much of a warning to enable it.
for now it's an option to have ssl certificate but starting from October the first, it will be required
i have set up my application, it works well for almost all browsers except google chrome, it seems to have a warning about my secure url of the ifram and doesnt load it, the only way i could work around it is visiting the actual url of the iframe, confirmed the ssl warning, then went back to the application on fb, so it finally worked
lousy solution i know, but there was nothing else i could do