Twitter 認証で電子メール取得するまで

TwitterTwitter Developer

目次一覧

 状態:  閲覧数:5,356  投稿日:2012-04-16  更新日:2020-01-14
電子メール取得するまで

電子メール取得するまで

 閲覧数:644 投稿日:2012-04-17 更新日:2019-04-05

電子メール取得するまで


「https://developer.twitter.com」で設定が必要

Apps > Permissions 画面
・「Request email address from users」にチェックを入れる

そのためには、
Apps > App details 画面
・「Privacy policy URL」欄と「Terms of service URL」欄を入力する必要がある

エラー表示UIが致命的に分かりづらいため要注意
・「Invalid website url」と表示された場合、途中から再開できない
・一旦既存の内容でSAVEした後、再度当初からやり直す
Issues found while trying to save
We couldn't save your changes due to one or more issues highlighted below. Please address them and try saving again.

Privacy policy URL
・プライバシーポリシー

Terms of service URL
・利用規約URL

ユーザー情報を取得する際、email含むことを明示的に指定する必要がある
$accountVerifyCredentials = $twitterOAuthObj->get("account/verify_credentials", ['include_entities'=> 'true', 'include_email'=> 'true']);



Twitter 回答を得られたQ



週間人気ページランキング / 7-5 → 7-11
順位 ページタイトル抜粋 アクセス数
1 Twitter API | Twitter API (Twitter) 3
2 fatal: remote error: is not a valid repository name | Git BASH(Git) 2
3 ゲストコメント一覧ページ 1
3 2022 年 10 月 28 時点における、私が理想とする(Web系プロジェクトバックアップ用途)gitコマンド実行履歴。※これまで一度もこの通りに実行できたことはない | Git BASH(Git) 1
3 「Twitter Developers」でApp作成 | Twitter Developer(Twitter) 1
3 we are unable to approve your developer application at this time. | Twitter Developer(Twitter) 1
3 teratailでは質問しない | プログラミング 1
3 「$ git push -u」を実行すると、上流ブランチが設定される。→ これ以降「git push」「git pull」する際にレポジトリ、ブランチ引数を省略できる | Git BASH(Git) 1
3 「Twitter API」を利用するためには? / Twitter API v1.1 / OAuth 1.0A / OAuth 2.0 | Twitter Developer(Twitter) 1
3 User is not Authorized の闇 | Twitter Developer(Twitter) 1
3 古いコードを処分 | プログラミング 1
3 GitHubリモートリポジトリ名には日本語を使用できない。使用すると、ハイフンへ自動置換されてしまう | GitHub(Git) 1
3 Twitter 旧レート制限 | Twitter API 旧仕様(Twitter) 1
3 コインチェック株式会社   | Webサービスビジネス 1
3 「Windows10」へ「gitfor windows VERSION 2.22.0」をインストール | GitHub(Git) 1
2025/7/12 1:02 更新