Answer the question
In order to leave comments, you need to log in
Can the Contact Api send messages?
I do not understand Api, but tell me if it is possible to write a php script that:
1. will be able to send a message from my personal account to the specified contact users. Is it possible to do this without my personal presence at the computer, just log in using the prescribed data and send
2. Send a message to the specified contact users after authorization in the script through your VKontakte account
3. Get a list of messages in my personal also without my personal presence at the computer, just check mail using the specified username and password
Answer the question
In order to leave comments, you need to log in
Why exactly PHP? Why does everyone want to work with VK in PHP? It is more likely to work with him on some C #. Even if a cloud is required, there is also a VPS as an option.
At least 1 time the application will need to allow access to VK through your account.
Authorization by login and password is not supported in the API, it needs to work with the back-end of the site itself, this is completely different. A sniffer will be needed, they will track requests coming from the browser and imitate them. Also, it’s worth digging their Android application with a sniffer, because there is a login and password, just like on the site.
So are you talking about mail or about a personal VK?
Everything that the API can do is written here: vk.com/dev/methods
See the section: "Messages"
With PHP it will not work (if you have an application of the "Site" type) because these methods are available only to Standalone applications.
1. will be able to send a message from my personal account to the specified contact users. Is it possible to do this without my personal presence at the computer, just log in using the prescribed data and send
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question