Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Facebook Followers

Dokumentacja API
https://api.sandbase.ai/v1/api/facebook/followers

List the public followers (or accounts followed) of any Facebook page or profile URL as normalized JSON records.

Cena
Od $0.12USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 2 opcjonalnych

Playground

Wejście
Facebook page or profile URL to list follows for (e.g. https://www.facebook.com/nasa).
120
Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less. Zakres: od 1 do 20.
Which relation to fetch: 'follower' or 'following' (e.g. follower).
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Facebook Followers API

Returns a list of public followers, or accounts followed, for a Facebook page or profile. It needs a Facebook page or profile url. Each record has an ID, name, type, profile URL and image URL.

Use cases

  • Sample the public followers of a brand page such as Nike to see what kinds of accounts follow it.
  • List the accounts a profile follows by setting followType to following.
  • Collect follower profile URLs to pass to a profile lookup for further research.
  • Check whether a page exposes public followers by testing the found flag.

Request

curl -X POST "https://api.sandbase.ai/v1/api/facebook/followers" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.facebook.com/nike", "limit": 3}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYesFacebook page or profile URL to list follows for (e.g. https://www.facebook.com/nasa).
followTypestringNoWhich relation to fetch: 'follower' or 'following' (e.g. follower).
limitintegerNoMaximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "items": [
      {
        "id": "100068981584033",
        "image": "https://scontent.fnbo1-2.fna.fbcdn.net/v/t39.30808-1/475753792_917567940552584_4…",
        "name": "Phawulothando",
        "type": "profile",
        "url": "https://www.facebook.com/people/Phawulothando/100068981584033/"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the lookup returned data. A lookup that finds nothing returns false.
data.items[]One follower or followed account per entry. The list holds at most limit entries.
data.items[].idNumeric Facebook ID of the follower account, returned as a string.
data.items[].nameDisplay name of the follower account.
data.items[].typeKind of account. The sample values are profile.
data.items[].urlFacebook URL of the follower account. You can use it as the url input in other Facebook APIs.
data.items[].imageURL of the account's profile picture.

Notes

  • Set limit between 1 and 20. The default is 20.
  • Set followType to follower (default) or following to choose the direction.
  • To get more detail on an account in the list, pass its url to Facebook Profile.
  • If you only have a page name and need its ID, use Facebook Profile ID.

Pricing

Billed at the actual cost of each call, about $0.12 for the request above. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
FacebookOd $0.12 za wywołanieJSON
FacebookOd $0.0012 za wywołanieJSON
FacebookOd $0.00462 za wywołanieJSON
FacebookOd $0.0012 za wywołanieJSON
FacebookOd $0.0011 za wywołanieJSON
FacebookOd $0.0011 za wywołanieJSON

Przewodniki:Best Facebook API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Facebook Followers?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/facebook/followers z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Facebook Followers?

Od $0.12 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Facebook Followers?

Wymagane: url (string). Opcjonalne: limit (integer) i followType (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Facebook Followers?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Facebook lub klucza API?

Nie. Facebook Followers działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Facebook.