Twitter API 仕様

TwitterTwitter Developer

目次一覧

 状態:  閲覧数:2,397  投稿日:2016-12-10  更新日:2019-06-26
Twitter API Oauth / Application-only authentication: Oauth2 (bearer token) / Application-user authentication: Oauth 1a (access token for user context)

Twitter API Oauth / Application-only authentication: Oauth2 (bearer token) / Application-user authentication: Oauth 1a (access token for user context)

 閲覧数:485 投稿日:2019-03-07 更新日:2019-06-26

Twitter API Oauth


2種類
・Application-only authentication: Oauth2 (bearer token)
・Application-user authentication: Oauth 1a (access token for user context)

比較一覧表
OAuth 1.0A 2.0
認証 ユーザ アプリケーション
トークン access bearer
公式リンク POST oauth/request_token
GET oauth/authorize
GET oauth/authenticate
POST oauth/access_token
Application-only authentication

Application-only authentication: Oauth2 (bearer token)


アプリケーション認証

Application-user authentication: Oauth 1a (access token for user context)


Application Type 「Access level」
・全3種類

Access level一覧
・機能比較表
- Read only Read and Write Read, Write and Access direct messages
タイムラインなどの取得
ツイート ×
ダイレクトメッセージ送信 ×
ダイレクトメッセージ受信・削除 × ×
公式 doc
Application Permission Model


Twitter引用転載仕様調査

Twitterで、画像(extended_entities)取得できないツイートがある場合は、tweet_modeパラメータ付与



週間人気ページランキング / 6-20 → 6-26
順位 ページタイトル抜粋 アクセス数
1 開発 0 5
2 ログイン 2
2 問題発生 / 「.git」ディレクトリ毎移動してみたが失敗 / イレギュラーな作業履歴 2
3 app削除して再度問い合わせ / 電話番号削除失敗 / 電話番号削除失敗したので、再度問い合わせ 1
3 Twitter 回答を得られたQ | Twitter Developer(Twitter) 1
3 エラー対応 1
3 Q4.Hashtags must link to a Twitter search with the hashtag as the query 1
3 うさみみハリケーン | ソフトウェア 1
3 「Twitter Developers」でApp作成 | Twitter Developer(Twitter) 1
3 iOSおよびAndroid上でのモーメントの作成できなくなります / だったら自分で作れば良いのでは? 1
3 埋め込みツイート 1
3 「Twitter API」経由でツイートを取得するためには? 1
3 過去の「0文字引用RT」を期間指定して取得しようとするも、挫折 | Twitter API (Twitter) 1
3 「$ git push」のuオプション 1
3 GitHubへ公開鍵(public key)を登録する / 作業ディレクトリ内に空のローカルリポジトリを作成する / 作業ディレクトリにあるファイル、ディレクトリをコミットする 1
3 Link / 処分するタイミング / 削除実行例 1
3 2019/6/24時点の感想 / 新規リポジトリ作成したら、勝手にディレクトリが作成されてしまう / 新規リポジトリ作成時に、勝手にディレクトリを作成しないようにする 1
3 「Twitter API」は、2023 年 5 月 10 日時点では、SMS認証(電話番号登録)不要でプロジェクト作成できるよう仕様変更されています。 | Twitter API (Twitter) 1
3 Link 1
3 HEAD / Link 1
2026/6/27 5:05 更新