Twitter API 仕様

TwitterTwitter Developer

目次一覧

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

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



週間人気ページランキング / 4-29 → 5-5
順位 ページタイトル抜粋 アクセス数
1 地方自治体 2
1 これまで / これから / 案1.Web広告の問題点 2
1 fatal: remote error: is not a valid repository name | Git BASH(Git) 2
1 Webサイト制作履歴 | Webサービス開発 2
1 問題発生 / TwitterOAuth / ライブラリ未使用 2
2 Twitter アカウント管理 1
2 問題発生 / 意図せずSubModule / エラー原因は、Gitが管理しているレポジトリの重複 1
2 Linux(server) カテゴリー 1
2 課金決済代行サービスを分類 | Webサービスビジネス 1
2 Bootstrap(デザイン) カテゴリー 1
2 「インターネット計測とデータ解析 2010」視聴メモ | SFC(プログラミング) 1
2 大前提 /「Twitter」アカウント /「Twitter Developers」アカウント 1
2 コインチェック株式会社 年表 1
2 携帯電話でSMS受信 / 電話番号登録後に無効を選択すると、その間に作成したアプリケーションはどうなるの? 1
2 Twitter連携ログイン代替APIを探しています | Webサービス開発 1
2 交通事故、落下事故 1
2 Twitter API (Twitter) カテゴリー 1
2 GitHubリモートリポジトリ名には日本語を使用できない。使用すると、ハイフンへ自動置換されてしまう | GitHub(Git) 1
2 「2023 年 4 月 30 日」前後にTwitterアカウントが「SUSPENDED This App has violated Twitter Rules and policies.」と表示された場合には、「Downgrade」ボタンを押した方がよいと思われます。 | Twitter API (Twitter) 1
2 理由 / 投稿削除できない / 質問の基準が不明 / QAサイトなのに、やってほしいことだけを記載してはいけない 1
2025/5/6 1:02 更新