this.fireauth.auth.signInWithPopup(new auth.TwitterAuthProvider())
.then((result) => {
console.log(result.additionalUserInfo.username)
}).catch(async (error) => {})
userじゃなくてadditionalUserInfoに入ってることに気づかなくて3時間くらい悩んだのでメモ..
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 3 years have passed since last update.
this.fireauth.auth.signInWithPopup(new auth.TwitterAuthProvider())
.then((result) => {
console.log(result.additionalUserInfo.username)
}).catch(async (error) => {})
userじゃなくてadditionalUserInfoに入ってることに気づかなくて3時間くらい悩んだのでメモ..
Register as a new user and use Qiita more conveniently
Go to list of users who liked