wahdalo/tiktok-src — reverse-engineered prompt
Reverse engineered prompt
Build me a simple JavaScript tool that lets me paste a TikTok video link, downloads the video, then opens Facebook in the browser and uploads it as a Reel using my saved Facebook cookies.
I want it to work from the command line first, with clear prompts and friendly messages so I know what is happening. It should read a cookies JSON file that I export from Chrome, use it to stay logged in to Facebook, and tell me if the cookies are missing or expired. After the upload finishes, show a success message or a useful error.
Also add an optional Telegram bot mode. I should be able to put my bot token in a config file, run the bot, send it a TikTok link, and have it do the same download and upload flow.
Please keep the setup simple with npm install and clear run commands. Add a short README that explains how to export cookies, where to put them, how to run the normal script, and how to run the Telegram bot.
Want more depth? Deep Reverse