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.
33 Comments - Last post 49 minutes ago by PyroluxAemilius
21 Comments - Last post 2 hours ago by Mitsukuni
898 Comments - Last post 4 hours ago by InSpec
704 Comments - Last post 6 hours ago by JJJ7
1,036 Comments - Last post 7 hours ago by sensualshakti
1,942 Comments - Last post 8 hours ago by MeguminShiro
228 Comments - Last post 9 hours ago by Dizzard
2,030 Comments - Last post 5 minutes ago by VicViperV
378 Comments - Last post 5 minutes ago by BoredQueen
64 Comments - Last post 21 minutes ago by MagnificentOne
83 Comments - Last post 22 minutes ago by Lugum
16,883 Comments - Last post 35 minutes ago by MjrPITA
137 Comments - Last post 46 minutes ago by galiane
26 Comments - Last post 47 minutes ago by Mayanaise
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.