Answer the question
In order to leave comments, you need to log in
VK api, OAuth 2.0 and wall.post
They have a method by which you can post something on the wall.
For photos, it is called in chain with photos.getWallUploadServer.
I use OAuth, that is, there is only a user access_token with access rights 92902.
So, the actual problem is that an attempt to call this method always leads to “Permission to perform this action is denied for non-standalone applications”. The token is correct (upload to albums works), Google shows topics with a million messages with very ambiguous posts.
Yes, and there are mostly flashers. And I just have an application on {yourFavLanguageName}, which has all the rights, which wants to send a POST request and receive a successful response, but for some reason it cannot.
I really can't use this method even if getWallUploadServer passes if I have full rights?
Answer the question
In order to leave comments, you need to log in
Some time ago we faced a similar problem.
In fact, in this case, the documentation is quite accurate: it states that the wall.post method is only available for desktop applications (that is, mobile clients that have full control over the browser window).
As a small study showed, VKontakte checks who and how is trying to get a token and “cuts” privileges for non-desktops on the go (the request window does not contain a “bricks” icon to allow posting messages on the wall).
On Habré, classes have already been run that are able to post on the wall, knowing the username and password (emulation of the user's login to the site). No one has come up with a better solution yet.
Although strange - the same Facebook allows you to post on the wall in a civilized way through the API, even on the wall of the user's friends (if memory serves).
If you are completely desperate, as it was with me, then maybe this little bike will help you: github.com/saippuakauppias/vk-wallposter
Vkontakte motivates the ban by the fact that they cannot issue a confirmation window on third-party sites.
I also suffered for a long time. Here are these comrades seedr.ru/ - somehow the ban was bypassed.
For myself, I “solved” the problem by sending a request to the application inside the contact, in a separate window ... - which immediately displays a request for confirmation of the publication on the wall. Of course, the user must have it installed.
Alternatively, you can use this service iceapi.com allows you to post on the walls of Facebook, VKontakte and Odnoklassniki without confirmation.
True, he is still damp, but he does his job clearly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question