Answer the question
In order to leave comments, you need to log in
How to repost a NEW post from a group to another group?
I can't repost a NEW entry from one group to another, what should I do?
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
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