LogoLogo
Bumalik

Dokumentasyon ng API

Followir SMM Panel API v2: mga endpoint, parameter, halimbawang request at response.

Nag-aalok ang Followir ng simpleng HTTP API na sumusunod sa karaniwang format ng SMM Panel API v2, kaya gumagana ito nang walang pagbabago sa karamihan ng reseller panel at script. Lahat ng response ay JSON.

Pagsisimula

  1. Gumawa ng account at magdagdag ng pondo.
  2. Buksan ang API page sa account mo at gumawa ng API key. Panatilihin itong pribado.
  3. Opsyonal: idagdag ang mga IP address na puwedeng gumamit ng key mo (iwanang walang laman para payagan ang kahit anong IP).

Endpoint

URLhttps://followir.com/api/v2
MethodPOST (gumagana rin ang GET)
FormatForm parameters ang input, JSON ang output
Kailangan sa bawat callkey (ang API key mo) at action

Mga Action

actionMga ParameterAno ang ginagawa nito
serviceskeyIlista ang lahat ng available na serbisyo kasama ang presyo at limitasyon
addkey, service, link, quantity (runs, interval para sa drip-feed)Mag-order ng bago
statuskey, order o orders (pinaghihiwalay ng kuwit)Status ng order, isa o marami
cancelkey, order o orders (pinaghihiwalay ng kuwit)I-cancel ang mga order sa mga serbisyong pumapayag nito
refillkey, order o orders (pinaghihiwalay ng kuwit)Humiling ng refill sa mga kwalipikadong order
refill_statuskey, refillStatus ng refill request
balancekeyAng kasalukuyan mong balanse at currency

services

curl -X POST "https://followir.com/api/v2" -d "key=YOUR_API_KEY" -d "action=services"
[
  {
    "service": "1",
    "name": "Instagram Followers",
    "type": "Default",
    "category": "Instagram",
    "rate": "0.9000",
    "min": "100",
    "max": "100000",
    "refill": true,
    "cancel": false
  }
]

Ang rate ay ang presyo kada 1000. Ipinapakita ng refill at cancel kung sinusuportahan ng serbisyo ang mga ito.

add

curl -X POST "https://followir.com/api/v2" \
  -d "key=YOUR_API_KEY" -d "action=add" \
  -d "service=1" -d "link=https://instagram.com/username" -d "quantity=1000"
{ "order": 850758 }

Para sa mga drip-feed na serbisyo, puwede ka ring magpadala ng runs (hindi bababa sa 2) at interval (minuto, 1 hanggang 1440). Binabalewala ang mga ito sa ibang serbisyo.

status

curl -X POST "https://followir.com/api/v2" -d "key=YOUR_API_KEY" -d "action=status" -d "order=850758"
{
  "charge": "0.9000",
  "start_count": "3572",
  "status": "In progress",
  "remains": "400",
  "currency": "USD"
}

Maraming order nang sabay: ipadala ang orders=850758,850759. Ang sagot ay isang object na naka-key sa numero ng order. Mga posibleng halaga ng status: Pending, In progress, Completed, Partial, Canceled, Refunded.

cancel

curl -X POST "https://followir.com/api/v2" -d "key=YOUR_API_KEY" -d "action=cancel" -d "order=850758"
{ "status": "Success" }

May mga cancellation na naghihintay ng kumpirmasyon, at ipinapakita ng sagot ang "status": "Pending". Kapag maraming order, makakatanggap ka ng listahan ng mga item na { "order": ..., "cancel": ... }.

refill and refill_status

curl -X POST "https://followir.com/api/v2" -d "key=YOUR_API_KEY" -d "action=refill" -d "order=850758"
{ "refill": "12" }

curl -X POST "https://followir.com/api/v2" -d "key=YOUR_API_KEY" -d "action=refill_status" -d "refill=12"
{ "refill": "12", "status": "Pending" }

balance

curl -X POST "https://followir.com/api/v2" -d "key=YOUR_API_KEY" -d "action=balance"
{ "balance": "25.50", "currency": "USD" }

Mga Error

Kapag may nagkamali, may error field ang sagot:

{ "error": "Not enough funds" }
MensaheKahulugan
API key is requiredKulang ang key parameter
Action is required / Incorrect actionKulang o hindi kilalang action
Invalid API keyMali o naka-disable ang key, o wala sa whitelist ang IP mo
Incorrect service ID / Service not foundHindi umiiral o naka-disable ang numero ng serbisyo
Link is required / Incorrect quantityKulang ang link, o hindi wastong numero ang dami
Quantity must be between ...Labas sa minimum at maximum ng serbisyo
Not enough fundsMasyadong mababa ang balanse mo para sa order na ito
Order not foundWalang ganitong order sa account mo
Cancel is not available for this serviceHindi puwedeng i-cancel ang serbisyong ito

Mga halimbawa ng code

PHP

$ch = curl_init("https://followir.com/api/v2");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
    'key'    => 'YOUR_API_KEY',
    'action' => 'add',
    'service'  => 1,
    'link'     => 'https://instagram.com/username',
    'quantity' => 1000,
]));
$response = json_decode(curl_exec($ch), true);
print_r($response);

Python

import requests

r = requests.post("https://followir.com/api/v2", data={
    "key": "YOUR_API_KEY",
    "action": "status",
    "order": 850758,
})
print(r.json())

Mga dapat malaman

  • Ang mga numero ng order ay kapareho ng nakikita mo sa orders page mo.
  • Maaaring tanggihan ang sabay-sabay na pag-order ng marami para sa parehong link hangga't hindi tapos ang una.
  • Nilo-log ang bawat call sa account mo. Kung sa tingin mo ay nabunyag ang key mo, gumawa ng bago mula sa API page.
  • Kailangan ng tulong sa integration? Magbukas ng ticket sa support page.

Bumalik