S
S
sandu_k2014-07-11 12:13:47
JavaScript
sandu_k, 2014-07-11 12:13:47

VK API - why doesn't newsfeed.get work?

Hello,
I can not access the wall of the VK user, when using the newsfeed.get method, with permissions: "wall, friends, offline", I receive something like this in response:

{"error":{"error_code":7,"error_msg":"Permission to perform this action is denied","request_params":[{"key":"oauth","value":"1"},{"key":"method","value":"newsfeed.get"},{"key":"access_token","value":"TOKEN"}]}}


What should I do about it? Help!
Thanks:-)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
sandu_k, 2014-07-11
@sandu_k

It turns out that when a request is made for the wall method, it is automatically ignored for websites, as the API tells us:
wall (+8192) | Access to standard and advanced methods for the wall. Note that this access permission is unavailable for sites (it is ignored at attempt of authorization).
The request to wall and newsfeed is forbidden to web applications because the guys from VK wanted it that way.
There is a cry from the heart in this regard, an article on Habré: habrahabr.ru/post/179953
I apologize for asking and answering myself.

H
Heafy, 2014-07-11
@Heafy

Looks like a permissions error, try using full permissions. If it works, then the current ones (wall, friends, offline) are not correctly set.

M
mihaisvet, 2014-08-04
@mihaisvet

The whole trick is that the "wall.get" method works and returns posts, but "newsfeed.get" does not.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question