Retrieve thread
Returns an array of tweets associated with a thread and a next_cursor value used to retrieve more pages (if the thread contains more than 30 posts)
Endpoint
Endpoint parameters
id (Required)
The numerical ID of a thread's first tweet
1549281861687451648
cursor (Optional)
Cursor value obtained from next_cursor response property
PAAAAPAtPBwcFoCAsrHQ6pOAKxUC...
Common Issues and Best Practices
In languages where the
id
value exceeds the default Integer type limit (e.g., Node.js), storeid
as a string. Use theid_str
property returned by the API for these valuesAlways URL-encode the
cursor
value when passing it back to the API for subsequent requests
Response codes
HTTP 200 OK - succeeded
HTTP 402 Payment Required - not enough credits to perform this request
HTTP 404 Not Found - requested tweet does not exist
HTTP 422 Unprocessable Content - validation failed (e.g. one of the required parameters was not provided)
HTTP 500 Internal Server Error - other error, typically means that SocialData API failed to obtain the requested information and you should try again later
Rate limits
By default each user has a limit of 120 requests per minute shared across all endpoints. Please reach out to support@socialdata.tools if you need to raise your rate limit.
Example request
Example response
Last updated