List tweets from an X community by community id or URL.
Endpoint
/v1/twitter/communities/tweets
Query
Community permalink or numeric id.
Opaque pagination cursor returned by a previous response.
Community tweet sort order. Defaults to `relevance`.
const response = await fetch( "https://api.socialfetch.dev/v1/twitter/communities/tweets?url=https://x.com/i/communities/1733520006279815231", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);