开发者

FBML apps fail under HTTPS

开发者 https://www.devze.com 2023-04-06 03:26 出处:网络
When setting in the developer console a secure url (https), and trying to load the canvas under facebook:

When setting in the developer console a secure url (https), and trying to load the canvas under facebook: https://apps.facebook.com/fanta-seriea/ I get the error saying that facebook received an empty responde. Am I doing something wrong? Th开发者_C百科e certificate is allright: https://fanta-seriea.com So why is this happening? L.


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."

From https://developers.facebook.com/blog/post/567/


Sorry for offtopic.

New Developer Roadmap says that FBML will die on 1st June 2012. Better go on iframe mode.


Have you definitely added a secure canvas URL in your app configuration? On the developer app, go to edit your app and under basic settings you should have URLs in both 'Canvas URL' and 'Secure Canvas URL'


I'm showing the HTTPS version as resolving correctly (although it doesn't fail gracefully if you access that url directly, it pukes errors all over the place) - https://www.fanta-seriea.com/fbfsapro/ - but when I try to access the HTTPS version of the canvas app, it redirects me back to the HTTP version. Is the SSL url set correctly in the SSL url section of your application settings?


You are referencing non-secure assets on that page. Facebook may be providing you with an invalid error message.

You should relativize all URLs that are simple assets.

If you need assets from other domains that are not yours, you can use protocol relative URLs : http://paulirish.com/2010/the-protocol-relative-url/

0

精彩评论

暂无评论...
验证码 换一张
取 消