Skip to content

Commit

Permalink
Merge #347 (drop support for API version 2.2).
Browse files Browse the repository at this point in the history
  • Loading branch information
martey committed Mar 25, 2017
2 parents 43b609e + 90181e8 commit ea4e43c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ You can read more about `Facebook's Graph API here`_.
import facebook
graph = facebook.GraphAPI(access_token='your_token', version='2.2')
graph = facebook.GraphAPI(access_token='your_token', version='2.8')
Methods
-------
Expand Down
4 changes: 2 additions & 2 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Version 3.0.0 (unreleased)
========================
- Remove support for Python 2.6.
- Add support for Graph API version 2.8.
- Remove support for Graph API version 2.1.
- Change default Graph API version to 2.2.
- Remove support for Graph API versions 2.1 and 2.2.
- Change default Graph API version to 2.3.
- Add support for requests' sessions (#201).
- Add versioning to access token endpoints (#322).
- Add new `get_all_connections` method to make pagination easier (#337).
Expand Down
2 changes: 1 addition & 1 deletion facebook/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

FACEBOOK_GRAPH_URL = "https://graph.facebook.com/"
FACEBOOK_OAUTH_DIALOG_URL = "https://www.facebook.com/dialog/oauth?"
VALID_API_VERSIONS = ["2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "2.8"]
VALID_API_VERSIONS = ["2.3", "2.4", "2.5", "2.6", "2.7", "2.8"]


class GraphAPI(object):
Expand Down

0 comments on commit ea4e43c

Please sign in to comment.