Connect your app to TikTok
You can connect your Lovable app to TikTok to get information about a creator's profile and their public videos. This lets you build tools like dashboards or content portfolios for a specific TikTok account.
Anyone building an app that needs to display or analyze information from a TikTok account, like a creator's public profile or videos.
Do this, in order
- 1
Go to 'Connectors' in your Lovable workspace and select 'TikTok'.
This is where you manage all connections to outside services.
- 2
Click 'Add connection'.
This starts the process of setting up a new link to a TikTok account.
- 3
Give your connection a name, like 'My TikTok', in the 'Display name' field.
This name helps you identify this specific TikTok connection within Lovable.
- 4
Optionally, expand 'Advanced settings' to review or change the permissions your app will request from TikTok.
This allows you to control exactly what data your Lovable app can access from the TikTok account. 'Read basic profile information' is always required.
- 5
Under 'Sharing', decide if this connection should be private to you or shared with others in your workspace.
This determines who else in your team can use this TikTok connection in their projects.
- 6
Click 'Connect', then sign in to TikTok if asked, review the permissions, and click 'Allow'.
This authorizes Lovable to access your TikTok account with the permissions you selected.
Paste this into your project
Connect my Lovable app to TikTok to read creator profiles and fetch published videos. I want to build a dashboard that shows my follower count, total likes, and video performance over time. Please set up the connection and then help me build this dashboard.
Words decoded
- OAuth
- A secure way for one service (like Lovable) to get permission to access your information on another service (like TikTok) without you having to share your password directly.
- API
- A set of rules and tools that allows different software programs to talk to each other and share information.
- Scopes
- Specific permissions that you grant an app to access certain parts of your data or perform certain actions on your behalf. For example, a 'read profile' scope means the app can see your profile, but not change it.
- Metadata
- Data that describes other data. For a video, this might include its title, description, upload date, and view count, but not the video content itself.
- Read-only
- Means the app can look at information but cannot change, add, or delete anything.
Where people get stuck
- You must have a Lovable workspace owner or admin role to set up the TikTok connection.
- The TikTok connector is read-only, meaning your app cannot upload videos, send messages, or manage followers.
- Each connection links to a single TikTok account; it does not support individual end-user logins.
- If the TikTok authorization is removed from the TikTok side, the connection in Lovable will stop working until reconnected.
- All API requests made through this connector count towards your TikTok API usage limits and billing, not Lovable's.
The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.