Tiktok downloader & auto upload to Facebook Reels (using Puppeteer).
- Download videos from TikTok
- Automatically upload videos to Facebook Reels
- Optional Telegram Bot integration for ease of use
- Access to the Facebook web interface (please ensure you are logged in).
- Chrome browser extension "Export cookies JSON file for Puppeteer" installed.
-
Export Facebook Cookies:
- Login to your Facebook account using Chrome.
- Use the "Export cookies JSON file for Puppeteer" extension to export your cookies.
-
Clone this Repository:
git clone https://github.com/wahdalo/tiktok-src cd tiktok-src
-
Replace cookies.json
- Replace the
cookies.json
file in the root directory with the exported file from the extension.
- Replace the
-
Install Dependencies:
npm install
-
Run the Script:
node index.js
-
Input TikTok Video Link:
-
Create a Telegram Bot:
- Create a bot in "BotFather".
- Copy the token from BotFather into the
config.json
file.
-
Run the Bot:
node telebot.js
-
Paste TikTok Video URL:
This project is licensed under the MIT License - see the LICENSE file for details.
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature
) - Commit your changes (
git commit -am 'Add awesome feature'
) - Push to the branch (
git push origin feature/your-feature
) - Create a new Pull Request
LIVE ON TEA