N
N
nagfar682018-06-22 12:21:40
API
nagfar68, 2018-06-22 12:21:40

Why does the Vkontakte API method account.getInfo give an error Access denied: no access to call this method?

Welcome all. I created a Standalone application, the code is written in php, uploaded to the server.
It is extremely necessary to obtain e-mail, phone, place of residence and gender of the user. I am currently getting a user token, the required permissions are: market,email,notifications,ads,wall,status,+256,photos,groups,friends,offline
But the 2 Vkontakte API methods don't want to work hard are: account.getInfo and account .getProfileInfo I make the
request with the following command:
$user_acc_info = json_decode(file_get_contents(' https://api.vk.com/method/account.getInfo?v=5.8&ac... '.$user_token), true);
I get the following error: Access denied: no access to call this method
Data about groups, friends, comments, likes, reposts, etc. succeeded in getting.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question