Automatically duplicate your posts from VK to Telegram channel
Automatically copies all photos, videos are provided as links to VK video(example https://vk.com/video227594082_456241827). Also, if the author is mentioned in VK post, link to his profile will be added to Telegram message. All posts that are marked as advertisiment won't be posted in Telegram(can be changed)
git clone https://github.com/maVovk/vk_to_tg_duplicator.git- Set all token variables in
.envfile. Instructions on how to get all tokens are given there. - Make bot an administrator in Telegram channel
- For debug
pip install -r requirements.txtpython main.pyFor productiondocker build -t vk_to_tg .docker run vk_to_tg
Go to https://vkhost.github.io/. Then click on VK Admin and follow the instructions.
Your acces token will be in the url between access_token and &expires_in
Open your community, then Manage->API usage
Enable LongPoll API and turn on notifications about new posts in Event types
Now create access token for your group, allow access to community's wall and copy token to .env file
Go to https://regvk.com/id/, enter link to the group, click the button and copy public ID
Create your own bot via @BotFather, then copy access token

Forward any post from your channel to @JsonDumpBot, find forward_from_chat field and copy id to .env file
If you need Telegram to Vk duplicator check here -> https://github.com/VeryBigSad/telegram_to_vk










