S
S
Solomon Gennadievich2017-05-01 22:35:58
PHP
Solomon Gennadievich, 2017-05-01 22:35:58

How to use the users.search method from VK?

Hello.
I wrote a script, but it says that the server cannot process the request ... Tell me how to get an array with users then?
Or maybe you have a ready-made script to get this array?

<?php 
GET_http(String.Format("https://api.vk.com/method/users.search.xml?" + request + "&offset=0&count=1000&fields=photo_id&access_token={0}", Settings1.Default.token)); ?>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Tom Nolane, 2017-05-01
@tomnolane

.xml<- remove from request

<?php GET_http(String.Format("https://api.vk.com/method/users.search?" + request + "&offset=0&count=1000&fields=photo_id&access_token={0}", Settings1.Default.token)); ?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question