How to get contacts (email, phone and country) of the user using API in

Good afternoon.

Created an application, wrote a CURL request in PHP for pulling the name autorizovany users, but I also need the contact data of users. What needs to be finished for that?
June 8th 19 at 17:09
1 answer
June 8th 19 at 17:11
Use the method users.getInfo.
Parameter uids pass an array of identifiers of authorized users (not names, but uid!).
In the fields parameter string required parameters "EMAIL,PHONE,LOCATION".

But remember that there may be situations in which the user does not specify some parameters, in this case, you can optionally request parameter "HAS_EMAIL". Either the user must give additional permissions to retrieve the data.
thank you! - wilson.Harvey commented on June 8th 19 at 17:14

Find more questions by tags Classmates