Twitter API 仕様

TwitterTwitter Developer

目次一覧

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

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



週間人気ページランキング / 11-8 → 11-14
順位 ページタイトル抜粋 アクセス数
1 GitHubリモートリポジトリ名には日本語を使用できない。使用すると、ハイフンへ自動置換されてしまう | GitHub(Git) 3
2 開発 0 2
2 Git BASH 作業履歴 2022/10/20 / P48 site-rank(First-Ranking-Service) 2 / P25をP48のリポジトリへ反映させていたので、「git push -f origin main」で強制上書き実行 | Git BASH(Git) 2
3 2018年を振り返り、2019年の方針を決める。Webサービスビジネス | Webサービスビジネス 1
3 GitHub(Git) カテゴリー 1
3 GitHub Desktop 試行錯誤履歴 | GitHub(Git) 1
3 「Twitter Developer」で、遭遇したエラー系メッセージ | Twitter Developer(Twitter) 1
3 Linux(server) カテゴリー 1
3 「Twitterデータ」対応 | Twitter Developer(Twitter) 1
3 今日の勘違い | Bootstrap(デザイン) 1
3 言葉(Webサービス開発) カテゴリー 1
3 TwitterOAuth では、画像URL を指定した画像投稿は出来ない(と思う)。ライブラリを使用しなければ出来るから、Twitter API の制限ではない(と思われる)  | Twitter 1
3 Windows10で使用できるGitクライアント | GitHub(Git) 1
3 意図せずSubModuleが作成された場合は、「$ git rm -rf --cached <対象ファイル or path>」後、「$ git add <対象ファイル or path>」 | Git BASH(Git) 1
3 本 | ブックマーク 1
3 2022 年 10 月 28 時点における、私が理想とする(Web系プロジェクトバックアップ用途)gitコマンド実行履歴。※これまで一度もこの通りに実行できたことはない | Git BASH(Git) 1
3 Twitter 複数アカウントでPOSTしたい | Twitter Developer(Twitter) 1
3 「Default branch」ではなく「Your branches」 | GitHub(Git) 1
3 LINUXSTYLE | Linux(server) 1
3 ログイン 1
2025/11/15 1:02 更新