FACEBOOK API
Facebook Group Info
Retrieve facebook group info from Facebook with a single API request.
GET
/api/data/v1/facebook/group1credit base cost
Request parameters
Up to 1 creditThe Facebook group URL. Group sub-page URLs such as /about work too.
The numeric Facebook group ID. Provide this instead of url if you already have it.
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/facebook/group?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F366190054572553%2Fabout' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"credits_charged": 1,
"id": "366190054572553",
"url": "https://www.facebook.com/groups/366190054572553",
"name": "Python Programming",
"description": "Let's share our knowledge on Python Programming",
"privacy": {
"label": "Public",
"description": "Anyone can see who's in the group and what they post."
},
"visibility": {
"label": "Visible",
"description": "Anyone can find this group."
},
"categories": [
{
"id": "242504017103922",
"name": "Software & tech"
}
],
"created_at": "2020-10-14T15:45:03.000Z",
"history_summary": "Group created on October 14, 2020. Name last changed on October 16, 2020.",
"member_count": 710386,
"member_count_text": "710,386 total members",
"administrator_count": 3,
"moderator_count": 0,
"administrators": [
{
"id": "pfbid029b9bjf9rZfL4v9EHdxt1uxng857G4UqwpZjbCHySg88UYWu2XL5ivSixWhXBnZMnl",
"name": "Nusrat Jahan",
"url": "https://www.facebook.com/people/Nusrat-Jahan/pfbid029b9bjf9rZfL4v9EHdxt1uxng857G4UqwpZjbCHySg88UYWu2XL5ivSixWhXBnZMnl/",
"profile_picture_url": "https://scontent.xx.fbcdn.net/example.jpg"
}
],
"moderators": [],
"activity": {
"posts_last_day": 16,
"posts_last_month": 512,
"new_members_text": "No new members in the last week"
},
"rules": [
{
"id": "366191957905696",
"title": "Be Kind and Courteous",
"description": "We're all in this together to create a welcoming environment. Let's treat everyone with respect."
}
],
"about_info": [
{
"type": "XFBPrivacyGroupsAboutInfoItem",
"label": "Public",
"description": "Anyone can see who's in the group and what they post."
}
]
}Example data from the API specification. Run a request to retrieve current data.
Response shape
This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.
View JSON Schema +
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"credits_remaining": {
"type": "integer"
},
"credits_charged": {
"type": "integer"
},
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacy": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"visibility": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
},
"created_at": {
"type": "string"
},
"history_summary": {
"type": "string"
},
"member_count": {
"type": "integer"
},
"member_count_text": {
"type": "string"
},
"administrator_count": {
"type": "integer"
},
"moderator_count": {
"type": "integer"
},
"administrators": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"url": {
"type": "string"
},
"profile_picture_url": {
"type": "string"
}
}
}
},
"moderators": {
"type": "array"
},
"activity": {
"type": "object",
"properties": {
"posts_last_day": {
"type": "integer"
},
"posts_last_month": {
"type": "integer"
},
"new_members_text": {
"type": "string"
}
}
},
"rules": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"about_info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"label": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
}
}
}