資料 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選填