6
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

FirebaseでTwitter認証 メールアドレスを取得

Posted at

先日FirebaseでTwitter認証を実装した際に、認証時メールアドレスが取得できず少しハマったので備忘録の意味も込めて書いておこうと思います。

結論

結論から言うと、Additional Permissionsを追加してあげることで簡単に実現できます。

やり方としては、Twitter Application Managementでアプリのページへ行き、Permissionタブへ移動します。
twittermanage.png
Additional Permissionsでチェックボックスを入れます。これでOK。
twittermanagement.png

:bulb:注意点

↑の画像をよく読むと分かるのですが、

These additional permissions require that you provide URLs to your application or service's privacy policy and terms of service. You can configure these fields in your Application Settings.

と書いてあってSettingタブの
twittersetting.png

  • Privacy Policy URL
  • Terms of Service URL

を埋めておく必要があります。

6
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?