import vk_api
import datetime
import time
vk = vk_api.VkApi(token=" токен")
api = vk.get_api()
group = -id #Откуда воруем
my_id = -id#Куда постим
try:
while True:
api.wall.repost(object=group, from_group=1, group_id = my_id)
time.sleep(10000)
except Exception as ex:
print
[100] One of the parameters specified was missing or invalid: object is incorrect