Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
fa0311 committed Jan 10, 2022
1 parent e7ed77b commit d30c716
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,49 @@ print(TwitterFrontendFlow()
.LoadCookies("user.json")
.CreateTweet("ツイートしたい文字列").content)
```
### いいね
```
print(TwitterFrontendFlow()
.LoadCookies("user.json")
.FavoriteTweet("ツイートid").content)
```
### いいね取り消し
```
print(TwitterFrontendFlow()
.LoadCookies("user.json")
.UnfavoriteTweet("ツイートid").content)
```
### リツイート
```
print(TwitterFrontendFlow()
.LoadCookies("user.json")
.CreateRetweet("ツイートid").content)
```
### リツイート取り消し
```
print(TwitterFrontendFlow()
.LoadCookies("user.json")
.DeleteRetweet("ツイートid").content)
```
### フォロー
未だに新APIへの移行が終わってないらしく旧APIでの実装
```
print(TwitterFrontendFlow()
.LoadCookies("user.json")
.friendships_create("ユーザーの内部id").content)
```
### フォロー取り消し
未だに新APIへの移行が終わってないらしく旧APIでの実装
```
print(TwitterFrontendFlow()
.LoadCookies("user.json")
.friendships_destroy("ユーザーの内部id").content)
```


## sample
中身見たほうが早いかも<br>
これが動かないアカウントがあったら詳細を詳しくissueに<br>
[sample.py](https://github.com/fa0311/TwitterFrontendFlow/blob/master/sample.py)

## help
Expand Down

0 comments on commit d30c716

Please sign in to comment.