Getting user information (email specificlyy) before he verified his email

自闭症网瘾萝莉.ら 提交于 2019-12-08 13:35:11

问题


Hi,
I am trying to get the user email address, and in a specific scenario I have a problem. The scenario is:

1. Register a new facebook user
2. Do not verify email on FB
3. Try to do FB connect from the app
4. On the pop up(FB pop up) that say you have to verify the email(on FB), click on the "allow" button.(DO NOT CLOSE THE POP UP)
5. Verify the email with FB
6. Click "allow" once more on the pop up - the pop up will close
-----a. The app will be allowed on the user FB account but when we will try to get his basic information his email will be show as FB email
7. To get his real email we need to remove the app from the user FB account and then try again from the app so that the app will get new permissions to the user account.

Is there a way to not be must to remove the app from the user account and re-allow it?


回答1:


This sounds like an extreme edge case my QA people would find and report as a bug. :D When a user is connecting to an application, they can specify the email (either their real one, or a facebook proxy one). So it appears that when a user has not verified their email, but allows access to the app, they are not given a dropdown to choose which email to use (real vs proxy) because facebook does not have a verified "real" one on file. So, even with that asside, there is no way for a user to "change" which of the two emails to use for an app without deauthorizing and then reauthorizing the app.



来源:https://stackoverflow.com/questions/8630698/getting-user-information-email-specificlyy-before-he-verified-his-email

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!