소셜
팔로잉
한 사용자가 팔로우하는 계정이에요. 한 페이지에 최대 50개예요. 더 보려면 next를 cursor로 넣어요.
GET
/api/v1/twitter/users/following/:userId가격
4 token 호출당 (3 + 1 × ceil(count ÷ 50)); 실패한 호출은 돌려줘요. 404 (없음)는 빼요.
매개변수
userIdpath필수- Numeric user ID. 예시:
44196397 countquery- Items to return, 1–50. Default 50. 예시:
50 cursorquery- Cursor from a previous response's
nextfield.
요청
curl
curl "https://api.xscraper.online/api/v1/twitter/users/following/44196397?count=50" \
-H "x-api-key: $XSCRAPER_KEY"응답
200 OK (예시 형태)
{
"success": true,
"message": "…",
"data": {
"profiles": [
{
"userId": "2244994945",
"username": "XDevelopers",
"name": "Developers",
"url": "https://x.com/XDevelopers",
"biography": "The voice of the X Dev team and your official source for updates, news, and events, related to the X API.",
"bioLinks": [],
"location": "127.0.0.1",
"website": "https://docs.x.com/",
"avatar": "https://pbs.twimg.com/profile_images/1683501992314798080/xl1POYLw.jpg",
"banner": "https://pbs.twimg.com/profile_banners/2244994945/1690213128",
"joined": "2013-12-14T04:35:55.000Z",
"followersCount": 698112,
"followingCount": 765,
"friendsCount": 765,
"tweetsCount": 4349,
"likesCount": 2685,
"mediaCount": 830,
"listedCount": 2978,
"pinnedTweetIds": [
"2019881223666233717"
],
"isPrivate": false,
"isVerified": false,
"isBlueVerified": true,
"verifiedType": "Business",
"canDm": true,
"professional": {
"type": "Business",
"categories": [
"Community"
]
},
"affiliation": {
"label": "X",
"url": "https://twitter.com/X",
"badgeUrl": "https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"
},
"parodyLabel": null,
"defaultProfile": false,
"defaultProfileImage": false,
"possiblySensitive": false
}
],
"next": "1846419170546342870|2102219347227549663"
},
"errors": null
}