You can get the name immediately after connecting the user, but the answer "how to do it" depends on what type of integration you use - the "old" or "chart", and which technology - JS, php, python, C #, etc. .
E-mail can be restored immediately after granting the expanded permission of e-mail . The usual way to grant this permission is to ask it during the connection process, which is well described here and here.
zerkms
source share