Twitter API 仕様

TwitterTwitter Developer

目次一覧

 状態:  閲覧数:2,427  投稿日: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)

 閲覧数:491 投稿日: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パラメータ付与



週間人気ページランキング / 7-31 → 8-6
順位 ページタイトル抜粋 アクセス数
1 開発 0 18
2 Twitter アカウント管理 | Twitter Developer(Twitter) 4
2 ソフトウェア カテゴリー 4
2 Bootstrap(デザイン) カテゴリー 4
3 Twitter API v1.1 | Twitter Developer(Twitter) 3
3 Twitter連携ログイン代替APIを探しています | Webサービス開発 3
3 「お問い合わせフォームの日本語」をどう書けば良いかが分からない | 言葉(Webサービス開発) 3
3 Git BASH 作業履歴 2022/10/21 / P28 site-ranking(4Th-Ranking-Service) / 他の「.git」ディレクトリが存在した状態のまま下記gitコマンドを実行したため、意図せず「submodule」化されてしまった例 | Git BASH(Git) 3
3 「Twitter Developers」でアプリケーションを新規作成するためには? SMS認証用コードを確認可能な電話番号の登録が必要 | Twitter Developer(Twitter) 3
3 Git 失敗履歴2。「$ git reset」→ ソースコード削除。※Git BASH 経由で Windows10 から GitHub へ PUSH しようとするも、誤ってソースコードを削除してしまう | Git BASH(Git) 3
3 コード管理 | プログラミング 3
3 Webサービス開発 カテゴリー 3
3 Webサービス | ブックマーク 3
3 GitHubリモートリポジトリ名には日本語を使用できない。使用すると、ハイフンへ自動置換されてしまう | GitHub(Git) 3
4 Git BASH 経由で、Windows10 から GitHub へ PUSH する | GitHub(Git) 2
4 User is not Authorized の闇 | Twitter Developer(Twitter) 2
4 感想履歴(技術エントリーを見返した際に不要だと感じた「当時の感想」をこのエントリーへ移動する) | Webサービス開発 2
4 ブックマーク カテゴリー 2
4 Twitter カテゴリー 2
4 GitHub(Git) カテゴリー 2
2026/8/7 5:05 更新