SocialPipe docs

X user media

One page of a user's posts that carry media, as TikHub returns it. Same timeline shape as `/twitter/tweets`, filtered upstream to posts with images or video. Media URLs point at X's own CDN; nothing here fetches them.

GET/v1/twitter/media

One page of a user's posts that carry media, as TikHub returns it.

Same timeline shape as /twitter/tweets, filtered upstream to posts with images or video. Media URLs point at X's own CDN; nothing here fetches them.

Query Parameters

username*Username
cursor?string|null
cache_ttl?|

Max acceptable age of a cached result, in seconds. A lower value demands fresher data; it does not shorten what is stored.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/twitter/media?username=string"
{  "cache_age": 0,  "cached": false,  "credits_remaining": 0,  "credits_used": 0,  "data": {},  "schema_version": "2",  "success": true,  "took_ms": 0}