List posts from a Facebook group by group URL.
Endpoint
/v1/facebook/groups/posts
Query
Public Facebook group URL whose posts should be listed.
Optional sort order for posts returned from the group feed. `top`: Facebook's default relevance ranking. `recentActivity`: sorted by most recent comment/reaction activity. `chronological`: regular posts sorted by post time, newest first. `chronologicalListings`: Facebook's separate feed of listing-style posts (e.g. items for sale) within the group, sorted by time.
Opaque pagination cursor from a previous response.
const response = await fetch( "https://api.socialfetch.dev/v1/facebook/groups/posts?url=https://www.facebook.com/groups/rateplate", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);