curl --request POST \
--url https://api.anysite.io/api/twitter/user/posts \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"user": "<string>",
"count": 123,
"timeout": 300
}
'[
{
"id": "<string>",
"url": "<string>",
"text": "<string>",
"user": {
"rest_id": "<string>",
"name": "<string>",
"alias": "<string>",
"url": "<string>",
"@type": "TwitterPostUser",
"image": "<string>",
"verified": false,
"verified_type": "<string>",
"is_blue_verified": false
},
"@type": "TwitterPost",
"created_at": 123,
"retweet_count": 0,
"favorite_count": 0,
"reply_count": 0,
"quote_count": 0,
"view_count": "<string>",
"is_retweet": false,
"retweeted": "<unknown>",
"is_quote": false,
"quoted": "<unknown>",
"in_reply_to_status_id": "<string>",
"in_reply_to_user_id": "<string>",
"in_reply_to_screen_name": "<string>",
"lang": "<string>",
"source": "<string>",
"possibly_sensitive": false,
"medias": [],
"urls": [],
"hashtags": [],
"user_mentions": [],
"card": {
"@type": "TwitterCardInfo",
"title": "<string>",
"description": "<string>",
"domain": "<string>",
"vanity_url": "<string>",
"image_url": "<string>",
"url": "<string>",
"card_type": "<string>"
},
"poll": {
"@type": "TwitterPoll",
"choices": [],
"ended_at": 123,
"duration_minutes": 0,
"is_final": false,
"last_updated_at": 123
}
}
]Twitter Get User Posts
curl --request POST \
--url https://api.anysite.io/api/twitter/user/posts \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"user": "<string>",
"count": 123,
"timeout": 300
}
'[
{
"id": "<string>",
"url": "<string>",
"text": "<string>",
"user": {
"rest_id": "<string>",
"name": "<string>",
"alias": "<string>",
"url": "<string>",
"@type": "TwitterPostUser",
"image": "<string>",
"verified": false,
"verified_type": "<string>",
"is_blue_verified": false
},
"@type": "TwitterPost",
"created_at": 123,
"retweet_count": 0,
"favorite_count": 0,
"reply_count": 0,
"quote_count": 0,
"view_count": "<string>",
"is_retweet": false,
"retweeted": "<unknown>",
"is_quote": false,
"quoted": "<unknown>",
"in_reply_to_status_id": "<string>",
"in_reply_to_user_id": "<string>",
"in_reply_to_screen_name": "<string>",
"lang": "<string>",
"source": "<string>",
"possibly_sensitive": false,
"medias": [],
"urls": [],
"hashtags": [],
"user_mentions": [],
"card": {
"@type": "TwitterCardInfo",
"title": "<string>",
"description": "<string>",
"domain": "<string>",
"vanity_url": "<string>",
"image_url": "<string>",
"url": "<string>",
"card_type": "<string>"
},
"poll": {
"@type": "TwitterPoll",
"choices": [],
"ended_at": 123,
"duration_minutes": 0,
"is_final": false,
"last_updated_at": 123
}
}
]Successful Response
Show child attributes
Show child attributes