This application is a simple tool that generates a TikTok Live Stream Key for OBS Studio using the Streamlabs API. Streamlabs TikTok LIVE access is required.
- Generate TikTok Live Stream Key using Streamlabs API
- Streamlabs TikTok LIVE access. You can request access here
- TikTok account
- Streamlabs installed on your computer and you are logged in with your TikTok account in Streamlabs (optional)
- Download the latest release from here
-
Run the application.
-
click on the "Load token" button.
-
- If you have Streamlabs installed on your computer and you are logged in with your TikTok account in Streamlabs, the application will automatically load the token.
- If you don't have Streamlabs installed on your computer or you are not logged in with your TikTok account in Streamlabs, you will need to login with your TikTok account in the browser that will open.
- If automatic login fails (common on Linux), you must manually export your TikTok cookies (see below) and then click "Load from Web".
-
Select stream title and category.
-
Click on "Save Config" button to save the token, title and category.
-
Click on the "Go Live" button.
If the token cannot be loaded automatically (for example, due to Selenium detection, cookie loading issues, or request timeouts), follow these steps:
Install a browser extension that allows exporting cookies in JSON format, such as mentioned in FAQ
- Open TikTok in your browser and log in.
- While on tiktok.com, export your cookies using the extension.
- Save the exported file as cookies.json.
- Place cookies.json in the same directory as the application.
- Launch the app and click "Load from Web".
With manually exported cookies, the application can successfully authenticate with Streamlabs and retrieve the token.
The script will output:
- Base stream URL: The URL needed to connect to the TikTok live stream.
- Stream key for OBS Studio (or any other streaming app): Stream key that that you can use in OBS Studio to stream to TikTok.
With this plugin, you can use your streamlabs token to stream directly to TikTok by saving it only once.
I'm getting you You can't open the application "***" because it may be damaged or incomplete error on MacOS. What should I do?
I don't own a Mac so I can't test the app on MacOS but you can try the following:
- Open Terminal.
- Run the following command:
xattr -dr com.apple.quarantine /path/to/the/StreamLabsTikTokStreamKeyGenerator.app(replace/path/to/the/StreamLabsTikTokStreamKeyGenerator.appwith the path to the app). - Try to run the app again.
This error sometimes occurs when TikTok detects selenium. You can use this extension to export your cookies and import them into the script.
- Start by installing the above extension in your browser.
- Log into TikTok in the browser (if not already logged in), then export the cookies using the extension (while being on TikTok's website).
- After that, place the file in the same directory as the script and rename it to
cookies.jsonthen start the app.
No, you can request access even if you have less than 1k followers.
This is typically caused by cookies not being properly loaded automatically. Use the manual cookie export method described above and then click "Load from Web".

