Ga naar hoofdinhoud

Like-script Configuratie

Deze pagina documenteert de configuratieparameters voor het like-script.

Overzicht

Het like-script liket automatisch berichten op TikTok of Instagram. Met meerdere doel-URLs via de API, wordt één taak per URL aangemaakt. Beheer timing met start_time.

Scriptconfiguratie (script_config)

Configuratieparameters voor het like-script:

Parameters

ParameterTypeVereistStandaardBeschrijving
target_post_urlsstring[]Yes*[]Array van doel-URLs om te liken (één taak per URL)
target_post_urlstringYes*""Enkelvoudige URL of meerdere URLs gescheiden door regeleinden/komma's
access_methodstringNo"direct"Navigatie naar bericht: direct (via URL)
notitie

target_post_urls-array of target_post_url-string moet worden opgegeven. Als beide, heeft target_post_urls prioriteit.

info

Met meerdere URLs maakt de API één taak per URL. 3 URLs + 2 apparaten = 6 taken.

Voorbeelden

Één bericht liken

curl -X POST http://localhost:50809/api/v1/task \
-H "Content-Type: application/json" \
-d '{
"serials": ["device_serial_1"],
"script_name": "like",
"script_config": {
"target_post_url": "https://www.tiktok.com/@username/video/1234567890"
}
}'

Meerdere berichten liken

Één taak per bericht:

curl -X POST http://localhost:50809/api/v1/task \
-H "Content-Type: application/json" \
-d '{
"serials": ["device_serial_1"],
"script_name": "like",
"script_config": {
"target_post_urls": [
"https://www.tiktok.com/@user1/video/111",
"https://www.tiktok.com/@user2/video/222",
"https://www.tiktok.com/@user3/video/333"
]
}
}'

Maakt 3 afzonderlijke taken direct uitvoerbaar.

Likes plannen met begintijd

Gebruik start_time om te plannen:

curl -X POST http://localhost:50809/api/v1/task \
-H "Content-Type: application/json" \
-d '{
"serials": ["device_serial_1"],
"script_name": "like",
"script_config": {
"target_post_url": "https://www.tiktok.com/@username/video/1234567890"
},
"start_time": "14:30"
}'

Liken via gebruikersnaamlijst

Like-taken voor specifieke accounts:

curl -X POST http://localhost:50809/api/v1/task \
-H "Content-Type: application/json" \
-d '{
"usernames": ["@my_account1", "@my_account2"],
"script_name": "like",
"script_config": {
"target_post_url": "https://www.tiktok.com/@target/video/123"
}
}'

Batch liken op meerdere apparaten

curl -X POST http://localhost:50809/api/v1/task \
-H "Content-Type: application/json" \
-d '{
"serials": ["device_1", "device_2", "device_3"],
"script_name": "like",
"script_config": {
"target_post_url": "https://www.tiktok.com/@viral/video/999"
},
"enable_multi_account": true
}'

Instagram voorbeeld

Dezelfde API voor Instagram:

curl -X POST http://localhost:50809/api/v1/task \
-H "Content-Type: application/json" \
-d '{
"serials": ["device_serial_1"],
"script_name": "like",
"script_config": {
"target_post_url": "https://www.instagram.com/p/ABC123/"
}
}'

Reactie

{
"code": 0,
"message": "success",
"data": {
"task_ids": [401, 402, 403],
"created_count": 3
}
}

URL-formaten

TikTok

https://www.tiktok.com/@username/video/1234567890123456
https://vm.tiktok.com/ABCDEFG/

Instagram

https://www.instagram.com/p/ABCDEFGHIJK/
https://www.instagram.com/reel/ABCDEFGHIJK/

Aanbevolen Procedures

  1. Plan taken: Gebruik start_time om likes te spreiden.

  2. Groepeer verstandig: Niet te veel taken tegelijk.

  3. Multi-account: Schakel enable_multi_account in.

Foutcodes

CodeDescription
40001Doel-URL ontbreekt
40003Script niet ondersteund via API
40301Pro+-abonnement vereist

Zie Ook