Community Tweets
API for getting latest tweets from Twitter communities
Community Tweets
Get the latest tweets from a Twitter community.
Request
URL: /api/twitter/community-tweets
Method: GET or POST
Request Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| communityId | string | Yes | Unique ID of the community |
Response
A successful response will return the latest tweets from the community, including tweet content, creation time, author information, etc., sorted in reverse chronological order.
Examples
Request Example
Response Example
Error Responses
| Status Code | Description |
|---|---|
| 400 | Request parameter error, e.g., missing required communityId parameter |
| 401 | Authentication failed, API key invalid or missing |
| 404 | Community does not exist or no access permission |
| 500 | Internal server error |
AIDIR Docs