вконтакте

Automatic receipt of the VKontakte authorization token in Python

I use the library: Https://github.com/sgaynetdinov/py-vkontakte Import vk Api = vk.Api('YOUR_TOKEN') Where a token is used fo ... om/blank.html#access_token=YYY&expires_in=86400&user_id=XXX Please tell me how to automatically get a token in Python

How do I get all messages from my account?

Here is the documentation of the vkontakte API: https://vk.com/dev Please help me to cope with the task: using a script on th ... atus(authInfo); VK.UI.button('login_button'); </script> How can I get anything at all, for example, user messages?

OAuth2 vk.com

Good afternoon, I'm trying to get a token: Https://oauth.vk.com/authorize?client_id=**&scope=4096&redirect_uri=local ... he link in the browser, the application on the local host, and it works fine in VK. That's probably not the problem. Thanks.

How do I get a conversation ID using the VK API?

I need to get the ID of a vk conversation in order to write to it from multiple pages. The trouble is that the conversation I ... each personal page. Is there a vk api method that allows you to determine the ID of a conversation by its name or otherwise?

The friends.areFriends method doesn't work (VK API)

<script type="text/javascript" src="http://userapi.com/js/api/openapi.js?49"></script> <script type=" ... Does not work. They say error data.response.length; and document.write(data.response[i].uid);. Help me solve the problem.

Assign a VK conversation administrator via the API

How to assign and demote administrators in VK conversations via the API? In Kate Mobile, this is implemented only it is not clear how, I can not find a method

Processing messages in a VK conversation via the API

Created a test community. In the API settings, I created a key with all the rights. In the event settings, the Callback API h ... else { Logger::Log($request->rawcontent()); } $response->end("ok"); } }

Error when sending a vk api message by the bot

When the bot sends a message to the user, it crashes with the error: vk_api.exceptions.ApiError: [901] Can't send messages fo ... ser_id=event.obj.from_id, random_id=get_random_id(), message=event.obj.text)

node vk bot api, error in the function with binding to the global context

I'm writing a vk bot using the node vk bot api, I want to make a response function to a command, because there are four comma ... t into the api's vc. it seems that I specified the global context when calling the function, I don't know where and how now.

How to read wss: / / stream in php without libraries (streaming api vk)

The vk Streaming api allows you to receive events from all over the vk, and this is implemented via the wss: / / protocol. A ... ($socket)) { $context = fgets($socket, 1024); print_r($context); } fclose($socket);

vk api, php, sdk

There is a code echo 'ABC\n'; $vk = new VKApiClient(); echo '123\n'; The first echo is output, the second is not, why? There are no errors, the library is connected, the $vk object is not working.

Is it possible to record all incoming and outgoing Vkontakte messages in the log?

I have access to the girl's page, she knows about it and therefore constantly deletes messages, misleading me. Like, I know her password... Can I use a php script or a jabber client to log all messages and how? At least direct it.

In the keyboard of the vk chatbot written in PHP, it is not possible to embed the link button

Gentlemen, good evening. The question is next. Has anyone ever encountered the development of vk bots with a keyboard in PHP ... ode () function) or otherwise build the logic of the button? I didn't find such a case in the documentation, can you tell me?

How do I get an avatar of a certain vk user in php?

In general, I have a blog in php, but in the api vkontakte I get lost, so I ask here. How do I get my personal avatar and sta ... that when you change them in Vkontakte, they also change on the blog. I think many bloggers are interested in how to do this.

wall.post python vk

There was a task to upload posts(just with text) to the Vkontakte community, help how to implement this task through python ... ('from_group', 1) ) response = requests.get('https://api.vk.com/method/wall.post?', params=params) print(response.text)

C# VkNet authorization

After executing this code, the button sticks and nothing happens. VkApi vkApi = new VkApi(); private void button1_Click( ... { MessageBox.Show("+"); } } Perhaps waiting for two-factor authorization? if so, how to do

Creating a poster using the VK API

I have a working script that can publish text and images in VK. But how to publish a poster: The documentation doesn't say anything about this.

Saving the user id to the database. (vk api)

You need to somehow save the value of user_id, so that you can then send a newsletter to all users who wrote to this bot. vk ... user_id=event.user_id, random_id=get_random_id(), message='GG, well played' )