From a071ebcb02c25044c6c473fcca292c17ba057fbf Mon Sep 17 00:00:00 2001 From: justindhillon Date: Tue, 17 Oct 2023 11:09:47 -0700 Subject: [PATCH] removes Remove support for deprecated Graph API Version 3.1 --- docs/changes.rst | 6 ------ examples/flask/requirements.txt | 2 +- facebook/__init__.py | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/changes.rst b/docs/changes.rst index 5dec2cbc..df5c5165 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -69,9 +69,3 @@ Version 0.3.2 (2012-07-28) - Fixes bug with Unicode app secrets. - Add optional timeout support for faster API requests. - Random PEP8 compliance fixes. - -Version 0.3.1 (2012-05-16) -========================== - - - Minor documentation updates. - - Removes the develop branch in favor of named feature branches. diff --git a/examples/flask/requirements.txt b/examples/flask/requirements.txt index e21b69c0..2daff249 100644 --- a/examples/flask/requirements.txt +++ b/examples/flask/requirements.txt @@ -1,3 +1,3 @@ -facebook-sdk==3.1.0 +facebook-sdk==3.2.0 flask>=0.12.3 flask-sqlalchemy==2.1 diff --git a/facebook/__init__.py b/facebook/__init__.py index e91c5939..592f0971 100755 --- a/facebook/__init__.py +++ b/facebook/__init__.py @@ -41,7 +41,7 @@ FACEBOOK_GRAPH_URL = "https://graph.facebook.com/" FACEBOOK_WWW_URL = "https://www.facebook.com/" FACEBOOK_OAUTH_DIALOG_PATH = "dialog/oauth?" -VALID_API_VERSIONS = ["3.1", "3.2", "3.3", "4.0", "5.0", "6.0", "7.0", "8.0"] +VALID_API_VERSIONS = ["3.2", "3.3", "4.0", "5.0", "6.0", "7.0", "8.0"] VALID_SEARCH_TYPES = ["place", "placetopic"]