Skip to content

Commit

Permalink
docs(changelog): 📝 update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
MerleLiuKun committed Apr 7, 2022
1 parent fe78d73 commit d82fa0b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 9 additions & 0 deletions docs/docs/authorization_oauth2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d82fa0b

Please sign in to comment.