question

Ben avatar image
Ben asked

How can i get the user email address with Google and Facebook login.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Ben avatar image
Ben answered

https://www.googleapis.com/auth/userinfo.email

I also add that scope in google OAuth but still can't get the detail info



I only success retrieve email address with getUserData() when it is a playfab account

3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sarah Zhang avatar image Sarah Zhang commented ·

Could you please provide the exact details about what you have tried? For example, which APIs have you tried to use? Besides, this thread -- How to get Google mail of AccountInfo can be a reference for you.

0 Likes 0 ·
Ben avatar image Ben Sarah Zhang commented ·


https://titleId.playfabapi.com/Client/GetAccountInfo
i tried with that API using playfab Plugin in Unreal.


but that only got email address from user with playfab account from this form

0 Likes 0 ·
form.jpg (74.7 KiB)
Sarah Zhang avatar image Sarah Zhang Ben commented ·

This thread -- How to get Google mail of AccountInfo could be a reference for you.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.