We have created an application, and want to show that in Facebook Canvas. Now, when we put the url which contains index.html we get 405 error and website does not load.
I did google and also found some solutions like we require php or aspx type files on the server, and found link like this facebook app throws 405 error
but we don't use these files and also don't have apache or IIS server. so, I came on the conclusion that I would call to my subdomain which can be js file i.e. https://www.abcexamdfdf.com/index.js and index.js contains data which redirects to our website i.e. https://www.xdfdfdfdfee.com that is on another server.
so, I need nodejs code which redirect to our website.
Thanks