I
I
Igor Samokhin2012-10-24 13:01:25
In contact with
Igor Samokhin, 2012-10-24 13:01:25

Is it possible to publish something on the VKontakte wall from the site?

Hello,
On facebook you can do this and besides, you can publish to your friends (rights - publication on my behalf and we substitute the user's access token)
And in Vkontakte? I try to do this through a standalone application - but my post is not even published ( scope=offline,wall - requested )
Another option can call vk.api('wall.post') from the site - but I think it will not work ...

Answer the question

In order to leave comments, you need to log in

5 answer(s)
N
nick4fake, 2012-10-24
@grigor007

In general, the order is this: we
connect the script
when it loads, we call VK.Auth.login(null, VK.access.FRIENDS);
When our handler (hung at the beginning, details in the documentation) starts, we call:
VK.Api.call('wall.post', args, callback). args is an object with parameters (owner_id, message, etc.). Do not forget that sometimes you need to enter a captcha (in this case, the corresponding error is returned in callbackck). A person is given a dialogue with your text - not an input field, but exactly like this: “publish ... To such a friend”?
On Facebook, you can publish immediately without this dialog. There is no way to bypass the dialogue on Vkontakte.

E
evnuh, 2012-10-24
@evnuh

Just wall.post in my opinion passes. We wrote on the wall from the site from the user. The trick is that you don’t even need to ask for permission to wall, when you call wall.post, the contact issues an iframe with a text input form (you can pre-fill it yourself) and the “post” and “cancel” buttons

N
nick4fake, 2012-10-24
@nick4fake

Can. Connecting via oauth as a website but using Iframe application methods. Those. really sites can do a lot.
What you definitely won't do is connect as standalone (for example, you can't write messages to friends). but on the wall you can write to ANY FRIEND

M
Maxim Shishkin, 2012-10-24
@lsoul

Read here. It seems like it’s impossible at all, but this is info from a year ago.

S
Stanislav, 2015-08-13
@stascer

Recently I wrote auto-posting using api for 5 social networks, including Vkontakte. If anyone is interested, here is a detailed example of how to post a message with a link, hashtags and a picture on your Vkontakte group wall.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question