Beğeni Skript Yapılandırması
Bu sayfa, görev oluşturmada kullanılan like skriptinin yapılandırma parametrelerini belgeler.
Genel Bakış
like skripti, TikTok veya Instagram'daki gönderileri otomatik olarak beğenir. API üzerinden birden fazla URL verildiğinde her URL için bir görev oluşturulur. start_time ile zamanlamayı kontrol edebilirsiniz.
Skript Yapılandırması (script_config)
Beğeni skriptinin yapılandırma parametreleri:
Parametreler
| Parametre | Tür | Gerekli | Varsayılan | Açıklama |
|---|---|---|---|---|
| target_post_urls | string[] | Yes* | [] | Beğenilecek hedef URL dizisi (URL başına bir görev) |
| target_post_url | string | Yes* | "" | Tek URL veya yeni satır/virgülle ayrılmış birden fazla URL |
| access_method | string | No | "direct" | Navigasyon yöntemi: direct (URL ile) |
target_post_urls dizisi veya target_post_url dizesi gerekli. Her ikisi varsa target_post_urls öncelikli.
Birden fazla URL ile API her URL için bir görev oluşturur. 3 URL + 2 cihaz = 6 görev.
Örnekler
Tek Gönderiyi Beğenme
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"
}
}'
Birden Fazla Gönderiyi Beğenme
Her gönderi için bir görev:
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"
]
}
}'
Anında yürütülen 3 ayrı görev oluşturur.
Başlangıç Zamanıyla Beğeni Planlama
start_time ile görev zamanlaması:
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"
}'
Kullanıcı Adı Listesiyle Beğeni
Belirli hesaplar için doğrudan görev:
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"
}
}'
Birden Fazla Cihazda Toplu Beğeni
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 Örneği
Aynı API Instagram için:
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/"
}
}'
Yanıt
{
"code": 0,
"message": "success",
"data": {
"task_ids": [401, 402, 403],
"created_count": 3
}
}
URL Biçimleri
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/
En İyi Uygulamalar
-
Planlayın:
start_timeile beğenileri zamana yayın. -
Akıllıca gruplandırın: Bir anda çok fazla görev oluşturmayın.
-
Çoklu hesap:
enable_multi_account'u etkinleştirin.
Hata Kodları
| Code | Description |
|---|---|
| 40001 | Hedef URL eksik |
| 40003 | Skript API ile desteklenmiyor |
| 40301 | Pro+ planı gerekli |