Twitter / X
Query public users, posts, communities and trends.
Lấy người dùng đang theo dõi
Liệt kê các tài khoản mà một người dùng X nhất định đang theo dõi, được xác định bằng @handle. Trả về 200 mục mỗi trang cùng has_next_page và next_cursor. Dùng để suy ra sở thích, nguồn thông tin hoặc mạng lưới chuyên môn của người dùng — việc ai đó theo dõi ai thường là tín hiệu ý định mạnh hơn ai theo dõi họ. Với chiều ngược lại, dùng get_twitter_user_followers. Để kiểm tra một cặp cụ thể mà không phải phân trang qua hàng nghìn bản ghi, dùng get_twitter_user_check_follow_relationship.
Tham chiếu giá
- Đo lường: Số lượng kết quả được đo lường.
- Ước tính tham chiếu cho mỗi yêu cầu: USD 0.0036.
- Cơ sở chi phí tối thiểu: USD 0.0006.
- Hệ số khách hàng tham chiếu: 1.0. Không áp dụng lại cho số tiền khách hàng đã quyết toán.
- Cơ sở chi phí không xác lập giá cuối cùng cho khách hàng, kể cả khi bằng 0.
Chỉ là siêu dữ liệu tham chiếu, không phải báo giá cho tài khoản, mức giá được bảo đảm hay hạn mức chi tiêu. Tín dụng tài nguyên không phải tín dụng Felo. Khoản phí cuối cùng tuân theo bản ghi thanh toán của Felo.
- Kiểu: stringcursor
- Kiểu: stringuser
Name
- Kiểu: object · Response078307E096De_UserFollowingsResponse200
Phản hồi thành công
- Kiểu: integercode
Integer numbers.
- Kiểu: array object[] · Response078307E096De_User[]followings
- automatedKiểu: string
By - canKiểu: boolean
Dm - coverKiểu: string
Picture - createdKiểu: string
At - descriptionKiểu: string
- favouritesKiểu: integer
Count Integer numbers.
- followersKiểu: integer
Integer numbers.
- followingKiểu: integer
Integer numbers.
- hasKiểu: boolean
Custom Timelines - idKiểu: string
- isKiểu: boolean
Automated - isKiểu: boolean
Blue Verified - isKiểu: boolean
Translator - locationKiểu: string
- mediaKiểu: integer
Count Integer numbers.
- messageKiểu: string
- nameKiểu: string
- pinnedKiểu: array string[]
Tweet Ids - possiblyKiểu: boolean
Sensitive - profileKiểu: string
Picture - statusesKiểu: integer
Count Integer numbers.
- typeKiểu: string
- unavailableKiểu: boolean
- unavailableKiểu: string
Reason - urlKiểu: string
- userKiểu: string
Name - verifiedKiểu: string
Type - withheldKiểu: array string[]
In Countries
- Kiểu: booleanhas
_next _page - Kiểu: stringmsg
- Kiểu: stringnext
_cursor - Kiểu: string enumstatusgiá trị
- success
- error
application/json - 400
Không thể xử lý yêu cầu. Hãy kiểm tra các tham số yêu cầu.
- 401
Cần có khóa API Felo hợp lệ.
- 402
Không thể tiếp tục yêu cầu vì chưa đáp ứng yêu cầu thanh toán.
- 403
Tài khoản không được phép thực hiện thao tác này.
- 429
Đã đạt giới hạn yêu cầu hoặc giới hạn chi tiêu.
- 502
Dịch vụ không thể hoàn tất yêu cầu.
- 503
API hoặc dịch vụ thanh toán tạm thời không khả dụng.
- 504
Dịch vụ đã hết thời gian chờ khi xử lý yêu cầu.
- default
Phản hồi lỗi; phản hồi chuyển tiếp từ thượng nguồn có thể dùng định dạng của nhà cung cấp
application/json
curl https://openapi.felo.ai/v1/beta/twitter/user/followings \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"followings": [
{
"type": "string",
"userName": "string",
"url": "string",
"id": "string",
"name": "string",
"isBlueVerified": true,
"verifiedType": "string",
"profilePicture": "string",
"coverPicture": "string",
"description": "string",
"location": "string",
"followers": 1,
"following": 1,
"canDm": true,
"createdAt": "string",
"favouritesCount": 1,
"hasCustomTimelines": true,
"isTranslator": true,
"mediaCount": 1,
"statusesCount": 1,
"withheldInCountries": [
"string"
],
"possiblySensitive": true,
"pinnedTweetIds": [
"string"
],
"isAutomated": true,
"automatedBy": "string",
"unavailable": true,
"message": "string",
"unavailableReason": "string"
}
],
"has_next_page": true,
"next_cursor": "string",
"status": "success",
"msg": "string",
"code": 1
}