A
A
Aidar2017-10-29 11:00:04
In contact with
Aidar, 2017-10-29 11:00:04

Why does an error occur when trying to request posts from VK?

Hello! When I try to make a request to search for posts from the community wall using the wall.search method, I get an error:
"Invalid request: method is unavailable without access token"
I make the request in the browser like this:

https://api.vk.com/method/wall.search?owner_id=-123456&query=#rock&count=5&access_token=мойТокен

I read about the service access key. I got into the application settings and generated it. But when substituting in access_token, the same error occurs. How to be?
UPD: Found what the problem is. In query, it was necessary to make a request without the hashtag #rock

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