Twitterbotを作るためのエンドポイント一覧

python

APIを使ってリクエストを送ります。
getとかpostとか。

そのリクエストの送り先でbotに使うものをまとめています。
作成しながら随時更新

諸々はTwitterdeveloper公式からの抜粋です。

ツイートを投稿、取得、操作する

APIリファレンス

投稿する

https://api.twitter.com/1.1/statuses/update.json

詳細

タイムラインを取得する

https://api.twitter.com/1.1/statuses/home_timeline.json

詳細

ユーザーのフォロー、検索、取得

APIリファレンス

フォローする

https://api.twitter.com/1.1/friendships/create.json

詳細

フォローを解除する

https://api.twitter.com/1.1/friendships/destroy.json

詳細

指定のIDがフォローしているIDを取得する

https://api.twitter.com/1.1/friends/ids.json

詳細

指定のIDをフォローしているIDを取得する(フォロワーの取得)

https://api.twitter.com/1.1/followers/ids.json

詳細

タイトルとURLをコピーしました