Answer the question
In order to leave comments, you need to log in
Why is the time of publication of news in VK incorrectly displayed during automation?
When adding a timer to a news publication, I assign a value to the calendar and time.
I found three parameters that could be responsible for the time:
Document.getElementsByclassName('resultField').value
Document.getElementsByclassName('selector_input selected').value
Document.getElementById('postpone_time1').value
Answer the question
In order to leave comments, you need to log in
Have you tried fidlerom to intercept the traffic and see what the browser sends when you manually fill out and submit the form?
The task is solved through the official vk.com API.
1. create a stand-alone application
2. get a token:
The token will be in the address bar
3. form a request to the API via invoke-webrequest
$token = your_token #str
$uri = "https://api.vk.com/method/wall.post?owner_id=-YOUR_PAGE&message=test&publish_date=1458120019&v=5.5&access_token=$token"
$requ = Invoke-WebRequest -Uri $uri -Method get
Maybe you have some problem with timezones? Check the local settings on the computer and those specified in the VK settings ..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question