数据 API / X / User
Get User Mentions
Get tweets that mention a given @handle, 20 per page. This is the only user-scoped X endpoint that supports a time window: pass sinceTime and/or untilTime as Unix timestamps in seconds to bound the range. Use this for monitoring — brand mentions, inbound replies, reputation tracking, or 'what happened to this account in the last 24 hours'. Returns tweets with has_next_page and next_cursor. For the account's own posts rather than mentions of it, use get_twitter_user_tweet_timeline.
参数
查询
userNamestring必填The user screen name to get mentions for.
sinceTimeinteger可选On or after a specified unix timestamp in seconds.
untilTimeinteger可选Before a specified unix timestamp in seconds.
cursorstring可选The cursor to paginate through the results. First page is empty.
请求示例
curl -G "https://openapi.felo.ai/v1/beta/twitter/user/mentions" \
--data-urlencode "userName=<string>" \
-H "Authorization: Bearer $FELO_API_KEY"响应
响应字段
tweetsobject[]可选typestring可选idstring可选urlstring可选textstring可选sourcestring可选retweetCountinteger可选replyCountinteger可选likeCountinteger可选quoteCountinteger可选viewCountinteger可选createdAtstring可选langstring可选bookmarkCountinteger可选isReplyboolean可选inReplyToIdstring可选conversationIdstring可选displayTextRangeinteger[]可选inReplyToUserIdstring可选inReplyToUsernamestring可选authorobject可选typestring可选userNamestring可选urlstring可选idstring可选namestring可选isBlueVerifiedboolean可选verifiedTypestring可选profilePicturestring可选coverPicturestring可选descriptionstring可选locationstring可选followersinteger可选followinginteger可选canDmboolean可选createdAtstring可选favouritesCountinteger可选hasCustomTimelinesboolean可选isTranslatorboolean可选mediaCountinteger可选statusesCountinteger可选withheldInCountriesstring[]可选possiblySensitiveboolean可选pinnedTweetIdsstring[]可选isAutomatedboolean可选automatedBystring可选unavailableboolean可选messagestring可选unavailableReasonstring可选profile_bioobject可选descriptionstring可选entitiesobject可选descriptionobject可选urlsobject[]可选display_urlstring可选expanded_urlstring可选indicesinteger[]可选urlstring可选urlobject可选urlsobject[]可选display_urlstring可选expanded_urlstring可选indicesinteger[]可选urlstring可选entitiesobject可选hashtagsobject[]可选indicesinteger[]可选textstring可选urlsobject[]可选display_urlstring可选expanded_urlstring可选indicesinteger[]可选urlstring可选user_mentionsobject[]可选id_strstring可选namestring可选screen_namestring可选quoted_tweetstring可选retweeted_tweetstring可选isLimitedReplyboolean可选has_next_pageboolean可选next_cursorstring可选statusstring可选允许值: success · error
msgstring可选codeinteger可选