跳转到主要内容
GET
/
v1
/
facebook
/
group_future_events
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/facebook/group_future_events?group_id=1571965316444595' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "code": 0,
  "message": "success",
  "data": {
    "events": [
      {
        "type": "search_event",
        "event_id": "967511139402097",
        "title": "Karaoke - Local Landing",
        "url": "https://www.facebook.com/events/967511139402097/",
        "day_time_sentence": "Happening now"
      },
      {
        "type": "search_event",
        "event_id": "1434501561797597",
        "title": "Mystic Moves Belly Dance Workshop! @Hot Asana Yoga! ",
        "url": "https://www.facebook.com/events/1434501561797597/",
        "day_time_sentence": "Fri, 6 Mar at 16:45 MST"
      },
      {
        "type": "search_event",
        "event_id": "1629987774683795",
        "title": "Blink Twice at Back East Bar",
        "url": "https://www.facebook.com/events/1629987774683795/",
        "day_time_sentence": "Fri, 6 Mar at 19:30 MST"
      }
    ],
    "cursor": "AQHSapmdi-ZgbdZXlUIlaNsaw6BRsquB5gJBXRpa3msBTgMIgPCTxBUvIUZ4xS2zmlFY4eE_uB84bL9LXQ5ZWVjv6g"
  },
  "requestId": "b5eae6ef-06fb-4c70-aa75-c308610e8064"
}
🪙4 credits每次请求

Copy for AI

🤖 让 AI 帮你写调用代码

点击按钮复制一段结构化提示词,可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。

授权

Authorization
string
header
必填

接口鉴权凭证。请在请求 Header 中传入 Authorization: Bearer <YOUR_API_KEY>。 可在 Dashboard 获取你的 API Key。

查询参数

group_id
string
必填

Facebook 群组 ID。

cursor
string

分页游标,用于获取下一页未来活动。

响应

请求成功

The response is of type object.