I
I
isq2017-10-09 11:51:09
PHP
isq, 2017-10-09 11:51:09

Working with token and vk api PHP, problems?

The problem is the following, I logged in to VK using direct authorization (I took the client_id and secret from the Internet, from the off Windows application)

https://oauth.vk.com/token?grant_type=password&client_id=3697615&client_secret=AlVXZFMUqyrnABp8ncuU&username='.тут_тулефон.'&password='.тут_пароль.'&v=5.68&2fa_supported=1

I receive the token, everything is fine, I try to send a request to friends.areFriends check the status of the person (friends\not friends)
https://api.vk.com/method/friends.areFriends?user_ids='.тут_id_человека.'&need_sign=&access_key='.тут_токен

in response I get an error, it was not possible to log in, what's wrong? where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Serezha, 2017-10-09
@isq

They are strangling fake authorizations now, in whatever I use, authorization has also fallen through off. clients, but with a slightly different error.
Create your own standalone application, authorize via oauth.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question