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.

9 months ago

Comment has been collapsed.

Would you like it public

View Results
Yea I could use it
Nah its unnecessary
I don't care ( :( )
Other (Comment)

Fun Fact-Tik Tok means Bitch Fool in Swedish
never touched the stuff

9 months ago
Permalink

Comment has been collapsed.

Thanks for the laugh, but I do agree being on TikTok is... besides being a clock, it's why I don't sign up for it.

9 months ago
Permalink

Comment has been collapsed.

Now that's a fun fact I won't forget ever ahahaha

9 months ago
Permalink

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

9 months ago
Permalink

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

9 months ago
Permalink

Comment has been collapsed.

Good job doing stuff you like!
Keep on!

9 months ago
Permalink

Comment has been collapsed.

Many thanks ;)

9 months ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.