目次一覧
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)
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 |
|---|---|---|---|
| タイムラインなどの取得 | ◯ | ◯ | ◯ |
| ツイート | ◯ | ◯ | × |
| ダイレクトメッセージ送信 | ◯ | ◯ | × |
| ダイレクトメッセージ受信・削除 | ◯ | × | × |
・Application Permission Model