From d82fa0b622e23790fd419bcee4f93909ccbeda6d Mon Sep 17 00:00:00 2001 From: ikaroskun Date: Thu, 7 Apr 2022 10:45:42 +0800 Subject: [PATCH] docs(changelog): :memo: update changelog --- CHANGELOG.md | 9 ++++++++- docs/docs/authorization_oauth2.md | 9 +++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ab874f..e07d056 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,14 @@ All notable changes to this project will be documented in this file. -## [0.7.5](https://github.com/sns-sdks/python-twitter/v0.7.4) (2021-02-17) +## [0.7.6](https://github.com/sns-sdks/python-twitter/v0.7.6) (2021-04-07) + +### Features + +- New apis for bookmarks. +- New initial parameters `client secret` for `Confidential Clients`. + +## [0.7.5](https://github.com/sns-sdks/python-twitter/v0.7.5) (2021-02-17) ### Features diff --git a/docs/docs/authorization_oauth2.md b/docs/docs/authorization_oauth2.md index 234a541..b9ae5a7 100644 --- a/docs/docs/authorization_oauth2.md +++ b/docs/docs/authorization_oauth2.md @@ -19,6 +19,15 @@ from pytwitter import Api api = Api(client_id='your client id', oauth_flow=True) ``` +!!! tip "Tips" + + If your app is belong to `Confidential clients`. You need also provide `Client Secret`. + +```python +from pytwitter import Api +api = Api(client_id='your client id', client_secret="your client secret", oauth_flow=True) +``` + By default, The callback uri is `https://localhost/`, You need add this url to App's `Authentication settings`. ### Get authorization url