資料 API / X / User
Get User Followings
List the accounts a given X user follows, identified by @handle. Returns 200 entries per page with has_next_page and next_cursor. Use this to infer a user's interests, information sources, or professional network — who someone follows is usually a stronger signal of intent than who follows them. For the opposite direction use get_twitter_user_followers. To test a single specific pair without paging through thousands of records, use get_twitter_user_check_follow_relationship.
參數
查詢
userNamestring必填Screen name of the user.
cursorstring選填The cursor to paginate through the results. First page is empty.
pageSizeinteger選填The number of followings to return per page.
請求範例
curl -G "https://openapi.felo.ai/v1/beta/twitter/user/followings" \
--data-urlencode "userName=<string>" \
-H "Authorization: Bearer $FELO_API_KEY"回應
回應欄位
followingsobject[]選填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選填has_next_pageboolean選填next_cursorstring選填statusstring選填允許值: success · error
msgstring選填codeinteger選填