Answer the question
In order to leave comments, you need to log in
How to send a message to vk through requests?
Tried to do so
import lxml.html
import requests
headers = {
'act':'a_send',
'al': '1',
'entrypoint':'',
'gid':'0',
'guid':'',
'hash':'',
'im_v':'2',
'media':'',
'msg':'223',
'random_id':'',
'to':''
}
r = requests.get("https://vk.com", params=headers)
print(r)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question