As of September 10, 2014 it's not possible to achieve.
Github pages' webserver doesn't allow POST calls to static content, as facebook does.
Question
I need to render a little and static website inside a Facebook app
, in order to set a new Tab for a Facebook page
just like Ferrari does.
To achieve this I have to create a website, host it and then create a Facebook app in order to render the website inside it.
The first problem was that I don't have a webhost with SSL in order to set up Secure URLs in my facebook app settings, so I decided to use github pages. My site was super easy and static so I though that github pages will do the job for me.
But when I configure my Facebook app to render my github-hosted website, see the error and my actual app settings:
I've read about nginx 405 error, and it seems to be mostly because of webserver configuration, and the way that facebook "calls" the iframes/websites via POST.
So my question is, how can I get a solution for this by myself?
Solution
As of September 10, 2014 it's not possible to achieve.
Github pages' webserver doesn't allow POST calls to static content, as facebook does.