Would you like it public
Fun Fact-Tik Tok means Bitch Fool in Swedish
never touched the stuff
Comment has been collapsed.
good luck but for myself i hate telegram - i always found it so clunky and un friendly to use and never really bothered
Comment has been collapsed.
The only downside I found is that it's not the most used app, so people prefer WhatsApp by default.
It has quite some functionalities that WA copies after a couple of years (and only few), but I understand that it's quite overwhelming if you don't know / don't want to tweak every functionality
Comment has been collapsed.
528 Comments - Last post 1 hour ago by WaxWorm
47,105 Comments - Last post 1 hour ago by Pish4
39 Comments - Last post 5 hours ago by shivam13
886 Comments - Last post 6 hours ago by InSpec
1,758 Comments - Last post 6 hours ago by CutieTheRooster
15 Comments - Last post 9 hours ago by vlad767
45 Comments - Last post 11 hours ago by TheSteveHarvey
65 Comments - Last post 9 minutes ago by cg
143 Comments - Last post 15 minutes ago by rimvydasm
90 Comments - Last post 49 minutes ago by cicangkeling
36 Comments - Last post 56 minutes ago by gtbr
51 Comments - Last post 1 hour ago by Mirzabah
23 Comments - Last post 1 hour ago by Mikurden
863 Comments - Last post 1 hour ago by Lugum
It's been quite a while since I posted on the forum.
TL;DR
I made a telegram bot that takes an url from the share button from tiktok and automatically posts it on an instagram page
If you want to read the full story, you're free to go ahead. If you just want to engage, skip to the last character
How it started
One day I imagined myself scrolling on my TikTok fyp and after seeing a cute animal video to press "Share" and send it to instagram like a post. Although that was not possible.
So I thought, why not make a script that does it?
How it works
I coded a telegram bot in python that takes in any tik tok url (and if it is shortened, it unshortens it) and fetches all the data from the id taken from the link.
Then the video gets downloaded together with the thumbnail and both are sent to the telegram api that creates a post with them and generates a caption from the fetched video data, so that description and hashtags are the same as on tiktok, also crediting the owner.
Why?
I was bored, my friends use instagram while I dont, so that way I can kinda send those cute videos to them. Also I like programming and automating stuff.
Problems
Python is kinda slow, and I didn't touch it for 3 years. I'm an Angular Web Dev so I work with APIs but this was harder.
The APIs in the code use sensitive data like username and password for IG login.
Morally I don't think I'm doing anything wrong: I credit the owner, I preserve the original description together with hashtags and I disclaim that if the owner does not wish for their content on my page they're free to contact me to remove any form of media they own without any problem. Although my morals my conflict with others.
What now?
My bot is now complete, when I run the script I can just send any tik tok url to my telegram bot directly from TikTok using the "Share" button.
I was thinking if people would like if it was public like anyone could use it, since now it requires to manually start the python script and read the credentials from the txt files. ( I once thought of using OAuth2 or something like that to avoid passing sensitive data )
Also I was wondering what I could code next. I really enjoy programming stuff, especially if it's automation.
If anyone, coder or non, has any suggestions on what to code next and if they want it public, helpful information for my bot or any other kind of comment, I would really appreciate it.
Comment has been collapsed.