Twitter API 仕様

TwitterTwitter Developer

目次一覧

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

 閲覧数:367 投稿日: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-9 → 4-15
順位 ページタイトル抜粋 アクセス数
1 GitHubリモートリポジトリ名には日本語を使用できない。使用すると、ハイフンへ自動置換されてしまう | GitHub(Git) 4
2 we are unable to approve your developer application at this time. | Twitter Developer(Twitter) 2
2 Twitter 複数アカウントでPOSTしたい | Twitter Developer(Twitter) 2
2 TwitterOAuth では、画像URL を指定した画像投稿は出来ない(と思う)。ライブラリを使用しなければ出来るから、Twitter API の制限ではない(と思われる)  | Twitter 2
2 teratailでは質問しない | プログラミング 2
2 「Twitterデータ」対応 | Twitter Developer(Twitter) 2
2 Windows10で使用できるGitクライアント | GitHub(Git) 2
3 「Google AdSense」と「iOSアプリ開発」の共通点 | Webサービスビジネス 1
3 Webサイト制作履歴 | Webサービス開発 1
3 アクセス数が少ない Webサイト(開発ブログ) を非公開へ変更 | Webサービス開発 1
3 13.作業ディレクトリ内の変更をステージングエリアへ追加してコミット候補にする / 14.インデックスに追加されたファイルをコミットする(コミットメッセージも指定する) / 15.ローカルリポジトリ(mainブランチ)(の変更)を送信して、リモートリポジトリ(「origin」上の同名ブランチ)へ反映させる 1
3 Webサイト終了プライベート手順 | Webサービス開発 1
3 トラブル発生する度に「Git GUI」を探すが、いつも「Git Bash」が一番じゃん、という結論になる。 | GitHub(Git) 1
3 「既存Twitterアプリが使用できる」からと言って「Twitter開発者アカウント」を保持しているとは限らない | Twitter Developer(Twitter) 1
3 GitHub への PUSH へ 1回成功したぐらいでは、Git 理解したことには全然ならない | Git BASH(Git) 1
3 同じ携帯電話番号でも、複数の「Twitter Developers」アカウントを作成可能 | Twitter Developer(Twitter) 1
3 電話番号認証を新規で行う(SMSメールを受信する)度に、(以前の該当アカウントでは)下記メールを受け取る 1
3 リファクタは、開発が一区切りついた段階でなるべく実行した方が良い | Webサービス開発 1
3 Twitter API 1.0 | Twitter API 旧仕様(Twitter) 1
3 「Twitter Developers」でApp作成 | Twitter Developer(Twitter) 1
2025/4/16 1:02 更新