Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop API version 2.2 from VALID_API_VERSIONS #347

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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