Skip to content

Commit

Permalink
Add support for Graph API version 2.11.
Browse files Browse the repository at this point in the history
  • Loading branch information
martey committed Nov 24, 2017
1 parent 159ae41 commit 37d5d65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You can read more about `Facebook's Graph API here`_.
import facebook
graph = facebook.GraphAPI(access_token="your_token", version="2.10")
graph = facebook.GraphAPI(access_token="your_token", version="2.11")
Methods
-------
Expand Down
2 changes: 1 addition & 1 deletion docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Changelog
Version 3.0.0 (unreleased)
==========================
- Remove support for Python 2.6.
- Add support for Graph API versions 2.8, 2.9, and 2.10.
- Add support for Graph API versions 2.8, 2.9, 2.10, and 2.11.
- Remove support for Graph API versions 2.1, 2.2, 2.3, and 2.4.
- Change default Graph API version to 2.4.
- Add support for requests' sessions (#201).
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.5", "2.6", "2.7", "2.8", "2.9", "2.10"]
VALID_API_VERSIONS = ["2.5", "2.6", "2.7", "2.8", "2.9", "2.10", "2.11"]
VALID_SEARCH_TYPES = ["page", "event", "group", "place", "placetopic", "user"]


Expand Down

0 comments on commit 37d5d65

Please sign in to comment.