Skip to content Skip to sidebar Skip to footer

Flask Facebook Canvas App - 405 Method Not Allowed

I am fairly new to web development and Python, trying to make a facebook app using python flask. Found some code in this tutorial that I am using to get started: http://ryaneshea.c

Solution 1:

I fixed it by specifying both GET and POST methods for the appropriate routes. Had to restart apache to get it working.

This is the syntax:

@app.route("/facebook_authorized", methods=['GET', 'POST'])

Post a Comment for "Flask Facebook Canvas App - 405 Method Not Allowed"