Redexa Social

GUIDE · TIKTOK API

Connect TikTok to Redexa Social with a sandbox app

Create a TikTok developer app, add Login Kit and three read scopes, add yourself as a sandbox target user, then paste the client key and secret. Six steps.

Why a sandbox works

A TikTok app in sandbox mode can read the accounts added to it as target users. Adding your own account is what lets the app read your videos without waiting for TikTok’s review of a public app.

The scopes, and why only these

Enable user.info.basic, user.info.stats, video.list. All three are read-only: they let the dashboard read your profile, your stats and your video list. Without video.list the app tells you the permission is missing instead of showing empty charts.

After connecting

The latest 10 videos, with views, likes, comments and shares, appear after the next refresh and join your YouTube and Instagram figures in the Overview and Analytics.

If you set up your app before version 1.12.8

Earlier versions gave an aurelioavila.github.io redirect address, which no longer opens. An app set up with it keeps working: Redexa Social still sends that address for it, and your linked accounts stay linked. To move to the new address, add https://redexa.getcertsprint.com/tiktok-callback to the Redirect URI entries of Login Kit and save, then open Link account › TikTok, press Remove and run the wizard again with the same client key and secret. Remove the old address from your TikTok app only after that.

Step by step

  1. Open the wizard. In Redexa Social open Link account › TikTok and press Connect it now to start the own-app guide.
  2. Create the app. Open the TikTok developer portal, sign in and register a new app. Give it a name and confirm.
  3. Enable login and permissions. Open Add products and add Login Kit. Among the scopes enable user.info.basic, user.info.stats, video.list.
  4. Create the sandbox. Open Sandbox and create one. Inside it, add your TikTok account as a target user.
  5. Paste the redirect address. In the Login Kit settings add the address the wizard shows to the Redirect URI entries and save. From version 1.12.8 it is https://redexa.getcertsprint.com/tiktok-callback.
  6. Copy the two credentials. Copy the sandbox Client key (it starts with sbaw) and Client secret into the wizard and press Save and connect.

Common questions

Do I need TikTok’s app review to connect my own account?

No. TikTok describes sandbox mode as a restricted environment for trying out integrations without submitting your app for review. Add your own TikTok account to the sandbox as a target user and sign in with it. TikTok reviews an app when you submit it to go live.

Which permissions does the TikTok app need?

Redexa Social asks for user.info.basic, user.info.stats and video.list, all read-only: your profile, counts such as followers and videos, and your public videos. Add them in the app’s Scopes section (user.info.basic comes with Login Kit), in the sandbox you connect with, and apply the changes.

What must the redirect URI be, and why does it have to match?

Add the address the wizard shows to the Redirect URI entries of Login Kit and save. TikTok requires the redirect URI sent at sign-in to match one you registered, so copy it exactly. It must be an absolute https address with no parameters and no # fragment.

Which TikTok videos does Redexa Social read?

The latest 10 public videos. TikTok’s video list returns public videos, newest first, so a private video does not appear. For each one the app shows views, likes, comments and shares.

Sources

Keep reading

TikTok · Connect Instagram with your own app · Posting windows