Twitter / X
Query public users, posts, communities and trends.
Get User Last Tweets
Get a user's most recent tweets, accepting either userName (@handle) or userId — useful when you have not resolved the handle to an ID yet. Optionally include replies. Cursor-paginated. Returns tweets under data with has_next_page and next_cursor. Use get_twitter_user_tweet_timeline instead when you already have the numeric ID and want the full profile-order timeline with parent-tweet expansion.
- 類型: stringuser
Id User ID of the user
- 類型: stringuser
Name Screen name of the user
- 類型: stringcursor
Cursor for pagination
- 類型: booleaninclude
Replies Include replies in the results
- 類型: object · UserTweetsResponse200
User tweets
- 類型: integercode
Provider status code.
- 類型: objectdata
- pin類型: object 可為 null
_tweet - property類型: anything
Name
- tweets類型: array object[]
Tweet object returned by TwitterAPI.io.
- property類型: anything
Name
- property類型: anything
Name
- 類型: booleanhas
_next _page - 類型: stringmsg
- 類型: string 可為 nullnext
_cursor - 類型: string 列舉status值
- success
- error
application/json - 400
The request could not be processed. Check the request parameters.
- 401
A valid Felo API key is required.
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
A request or spending limit has been reached.
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl https://openapi.felo.ai/v1/beta/twitter/user/last_tweets \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"status": "success",
"code": 1,
"msg": "string",
"data": {
"tweets": [
{
"additionalProperty": "anything"
}
],
"pin_tweet": {
"additionalProperty": "anything"
},
"additionalProperty": "anything"
},
"has_next_page": true,
"next_cursor": "string"
}