Method Not Allowed Error 405 Facebook Application
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss google app engine 405 method not allowed the workings and policies of this site About Us Learn more about 405 method not allowed the method post is not allowed for this resource. Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow google app engine the method get is not allowed for this resource Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up facebook app throws 405 error up vote 0 down vote favorite I added a html game page to facebook developer page as app and it throws 405 method not allowed error. Could some one help me on this? App details: http://apps.facebook.com/kannayya/ facebook share|improve this question asked Feb 11 '13 at 0:07 Kurkula 1,07033771 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted Facebook loads applications via POST. That error is not Facebook related, it's an error that is being thrown by your server. Make sure that POSTs are allowed, and allowed for the specific canvas URL that you've set in the developer console for your app. share|improve this answer answered Feb 11 '13 at 0:36 Nick Parsons 2,26532453 NIck, But its just a simple html file in my server. How can I allow posts. Could you please guide me on that? –Kurkula Feb 11 '13 at 0:43 I'm not familiar on how to configure that outside of apache. I would recommend running a quick search for enabling POST on IIS. Maybe stackoverflow.com/questions/3472429/…. –Nick Parsons Feb 11 '13 at 1:03 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a gu
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up 405 Method Not Allowed The method POST is not allowed for this resource appengine facebook App up vote 2 down vote favorite I'm doing an app on appengine and it works http://stackoverflow.com/questions/14804161/facebook-app-throws-405-error just fine there .I have the app's URL on facebook canvas url http://xx.appspot.com/yyy/ (with trailing slash) and when the app is called from http://apps.facebook.com/appname i get 405 Method Not Allowed The method POST is not allowed for this resource. class MainHandler(webapp2.RequestHandler): def get(self): #do stuff here def post(self): pass app = webapp2.WSGIApplication([ ('/yyy/', MainHandler), ('/',anotherHandler), ], debug=True ) note : no such error in appengine log . facebook google-app-engine http-status-code-405 share|improve this question edited Nov 15 '12 at 5:49 http://stackoverflow.com/questions/13346309/405-method-not-allowed-the-method-post-is-not-allowed-for-this-resource-appengin asked Nov 12 '12 at 15:16 haile 88311 stackoverflow.com/questions/3730032/…, facebook.stackoverflow.com/… –CBroe Nov 12 '12 at 15:34 add a comment| 2 Answers 2 active oldest votes up vote 6 down vote It's trying to make a POST to your app but you do not have a handler configured to receive it. Where you have your GET handler: def get(self): dostuff you also need to have a POST hander as well: def post(self): dostuff From what I remember when I last looked at this, it's probably trying to complete a step in the authorisation process or send you some data. share|improve this answer answered Nov 12 '12 at 15:31 Paul Collingwood 8,16431227 well, it won't write out "test" except to facebook when they come calling. Suggest you start with one of their working examples? –Paul Collingwood Nov 12 '12 at 16:24 add a comment| up vote 3 down vote Good Day ! It seems like I FINALLY figured out what my problem was . I defined the post method in the application as Paul C(which is correct) has mentioned but I was still getting the same 405 error message . The reason was ,I didn't update the default version of the app that was running from the appengine dashboard & updated my app version. please make sure which version of the app you are using if you have the same problem. https://appengine.google.com/deploym
GoogleВойтиСкрытые поляПоиск групп или сообщений
360 games PC games Windows games Windows phone games Entertainment All Entertainment Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft