Can Contact Api to send messages?

Do not understand the Api, but tell me is it possible to write a php script which:
1. to send a message with my personal account to the specified user contact. Can this be done without my personal presence at the computer, just log in on the prescribed data and send
2. To send a message to the specified users of contact after logging in the script using your account in Vkontakte
3. To obtain the list of messages in my PM without my physical presence at the computer, just specify login and password to check your mail
July 12th 19 at 16:55
3 answers
July 12th 19 at 16:57
Why is PHP then? Why are all drawn from VK to run it on PHP? With him soon on some C# to work. Even if you want the cloud, there is still a VPS as an option.

without my personal presence at the computer

At least 1 time it will take for the app to allow access to VK through your account.

just specify login and password

Authorization by login and password is not supported in the API, it should work with back-endom of the site, it is quite another. A sniffer will need them to track the requests coming from the browser and simulate them. Also MB is theirs Android app to dig in the sniffer, after all, there is the username and password as on the website.

check mail

So you're talking about mail or PM about the VC?
Authorization by login and password is not supported in the API, it should work with back-endom of the site, it is quite another. A sniffer will need them to track the requests coming from the browser and simulate them. Also MB is theirs Android app to dig in the sniffer, after all, there is the username and password as on the website.

for Python there is a library vk_api very simple and convenient it can be by login password, as I understand she says that she VK browser Muff ) - elmira24 commented on July 12th 19 at 17:00
About the PM VC.
I guess in my mind you get the feel of a bot for VC.
1) the visitor authoritively through it and automatically sends a message to my account on the bot.
2) my bot account - no matter PHP or deployed in the cloud receives the message and depending on the data in the letter sends a letter to the PM mentioned accounts

Is this possible?
Tell me, please, what are the languages for writing difficult if implemented, to determine the price - luella49 commented on July 12th 19 at 17:03
And to the bot itself could at the specified time, me to send messages I need people - luella49 commented on July 12th 19 at 17:06
a library is good, but 1) the attachment to Python is bad 2) and most importantly: what if in VK will change something, and the library broken? Unfortunately, when working without the API this risk is always there, but if he wrote, then I sniffit = iscovery. - delta_Bart commented on July 12th 19 at 17:09
: languages I would be left to the discretion of the candidate (especially, it cloud/hosting, in this case, many different languages, it is not Windows where most desirable C# and Delphi), but the skills (first and foremost is the use of the sniffer, and knowledge of HTTP, not just the ability to use ready API) in the candidate is desirable. Price - from 10 tyrov I'd take a can and 25, 50 and 100, if developed Profi and can motivate spending - it's OK, but if pressed down, it is possible to try and 5 to meet. - delta_Bart commented on July 12th 19 at 17:12
: binding to Python is not bad, it works everywhere, the library is just a wrapper feed any mtod API, just browser emulation which sometimes is very convenient especially in the automation of the described tasks - elmira24 commented on July 12th 19 at 17:15
:
binding to PL is always bad.

> it works everywhere
One ass on two chairs sitting, quality suffers (c) Kozma Prutkov modern.

> you described task
Not mine, I'm not TS. - delta_Bart commented on July 12th 19 at 17:18
"Why are all drawn from VK to run it on PHP?" - does not pull all, just right in PHP many beginners that have little know how. - Tyra.Price26 commented on July 12th 19 at 17:21
July 12th 19 at 16:59
All that can API is written here: vk.com/dev/methods
See Chapter: "Message"

PHP will not work (if you have an application like the "Site") because these methods are only available to Standalone applications.
You can always feed him the necessary token. - elmira24 commented on July 12th 19 at 17:02
July 12th 19 at 17:01
1. to send a message with my personal account to the specified user contact. Can this be done without my personal presence at the computer, just log in on the prescribed data and send

Yes, you can, if the user allows you to send messages with such access rights as you have. (friends of friends/friends/random user VK). It is a limit and negrusa to send messages can't.

2. To send a message to the specified users of contact after logging in the script using your account in Vkontakte

Don't understand how this question is different from the first.

3. To obtain the list of messages in my PM without my physical presence at the computer, just specify login and password to check your mail

Yes, no problem. But still in the VC decided to not use a username+password, and access_token. As far as I know, all libraries were able to work on a bunch of username+password is not working with this method.
A token is a simple affair, and you can do so, to update it almost was not necessary(only when changing the password)

Find more questions by tags VKontakte