Skip to main content

Follow Suggested Script Configuration

This page documents the configuration parameters for the follow_suggested script used in task creation.

Overview

The follow_suggested script automatically follows the suggested accounts in the TikTok Suggested tab. It navigates to the Profile → Following → Suggested page and clicks all available Follow buttons until the max follow count is reached.

info

This script is only available for TikTok accounts.

Script Configuration (script_config)

The script_config object contains the parameters for the follow_suggested script. Below are the available parameters:

Parameters

ParameterTypeRequiredDefaultDescription
max_follow_countintegerNo20Maximum number of accounts to follow

Examples

Basic Usage

curl -X POST http://localhost:50809/api/v1/task \
-H "Content-Type: application/json" \
-d '{
"serials": ["device_serial_1"],
"script_name": "follow_suggested",
"script_config": {
"max_follow_count": 30
}
}'

Run on Multiple Devices

curl -X POST http://localhost:50809/api/v1/task \
-H "Content-Type: application/json" \
-d '{
"serials": ["device_1", "device_2"],
"script_name": "follow_suggested",
"script_config": {
"max_follow_count": 20
},
"enable_multi_account": true
}'

Schedule with Start Time

curl -X POST http://localhost:50809/api/v1/task \
-H "Content-Type: application/json" \
-d '{
"serials": ["device_serial_1"],
"script_name": "follow_suggested",
"script_config": {
"max_follow_count": 50
},
"start_time": "09:00"
}'

Response

{
"code": 0,
"message": "success",
"data": {
"task_ids": [301],
"created_count": 1
}
}

See Also