Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Facebook Followers

เอกสาร 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.

ราคา
เริ่มต้นที่ $0.12USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 2 ไม่บังคับ

Playground

อินพุต
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. ช่วง: 1 ถึง 20.
Which relation to fetch: 'follower' or 'following' (e.g. follower).
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Facebook FollowersAPI นี้
Facebook
เริ่มต้นที่ $0.12 ต่อครั้งJSON
Facebookเริ่มต้นที่ $0.0012 ต่อครั้งJSON
Facebookเริ่มต้นที่ $0.00462 ต่อครั้งJSON
Facebookเริ่มต้นที่ $0.0012 ต่อครั้งJSON
Facebookเริ่มต้นที่ $0.0011 ต่อครั้งJSON
Facebookเริ่มต้นที่ $0.0011 ต่อครั้งJSON

คู่มือ:Best Facebook API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Facebook Followers API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/facebook/followers โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Facebook Followers API ราคาเท่าไร?

เริ่มต้นที่ $0.12 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Facebook Followers API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: url (string). ตัวเลือก: limit (integer) และ followType (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Facebook Followers API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Facebook ไหม?

ไม่จำเป็น Facebook Followers ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Facebook API แยกต่างหาก