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.
246 Comments - Last post 5 minutes ago by Golwar
46,856 Comments - Last post 2 hours ago by lamusette
458 Comments - Last post 5 hours ago by CBlade
1,441 Comments - Last post 7 hours ago by ekees
15,443 Comments - Last post 9 hours ago by Aradiel
56 Comments - Last post 15 hours ago by Gamy7
559 Comments - Last post 1 day ago by svecka
67 Comments - Last post 6 minutes ago by hawkeye116477
7,962 Comments - Last post 33 minutes ago by Sno1
127 Comments - Last post 39 minutes ago by Wintermute75
101 Comments - Last post 57 minutes ago by TrevorGoodchild
93 Comments - Last post 1 hour ago by ghanembobsorrow
94 Comments - Last post 1 hour ago by Ottis
1,157 Comments - Last post 1 hour ago by MouseWithBeer
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.