Answer the question
In order to leave comments, you need to log in
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"}]}}
Answer the question
In order to leave comments, you need to log in
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.
Looks like a permissions error, try using full permissions. If it works, then the current ones (wall, friends, offline) are not correctly set.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question