Twitter / X
Query public users, posts, communities and trends.
Twitter / X 操作
按 ID 获取社群信息
按数字社群 ID 获取 X 社群的元数据——名称、描述、成员数和访问规则。用它先评估社群,再拉取其成员或帖子。对象位于 community_info 下。要按主题发现社群,请用 get_twitter_community_tweets_all 搜索其帖子。
计费参考
- 计量方式:按成功请求的固定成本计费。
- 参考请求估算:0.0002 美元。
- 参考客户倍率:1.0。不得对已结算的客户金额再次应用。
仅供参考的元数据,不是账户报价、保证价格或消费上限。资源额度不同于 Felo 额度。最终扣费以 Felo 计费记录为准。
查询参数
- 类型: stringcommunity
_id 必填社区 ID
响应
- 类型: object · Response8D25370A403A_CommunityInfoResponse200
社群信息响应
- 类型: object · Response8D25370A403A_CommunityInfocommunity
_info - admin类型: object · Response8D25370A403A_User
- automated类型: string
By - can类型: boolean
Dm - cover类型: string
Picture - created类型: string
At - description类型: string
- favourites类型: integer
Count Integer numbers.
- followers类型: integer
Integer numbers.
- following类型: integer
Integer numbers.
- has类型: boolean
Custom Timelines - id类型: string
- is类型: boolean
Automated - is类型: boolean
Blue Verified - is类型: boolean
Translator - location类型: string
- media类型: integer
Count Integer numbers.
- message类型: string
- name类型: string
- pinned类型: array string[]
Tweet Ids - possibly类型: boolean
Sensitive - profile类型: object
_bio - description类型: string
- entities类型: object
- description类型: object
- urls类型: array object[]
- display类型: string
_url - expanded类型: string
_url - indices类型: array integer[]
- url类型: string
- url类型: object
- urls类型: array object[]
- display类型: string
_url - expanded类型: string
_url - indices类型: array integer[]
- url类型: string
- profile类型: string
Picture - statuses类型: integer
Count Integer numbers.
- type类型: string
- unavailable类型: boolean
- unavailable类型: string
Reason - url类型: string
- user类型: string
Name - verified类型: string
Type - withheld类型: array string[]
In Countries
- banner类型: string | null
_url - created类型: string | null
_at - creator类型: object · Response8D25370A403A_User
- automated类型: string
By - can类型: boolean
Dm - cover类型: string
Picture - created类型: string
At - description类型: string
- favourites类型: integer
Count Integer numbers.
- followers类型: integer
Integer numbers.
- following类型: integer
Integer numbers.
- has类型: boolean
Custom Timelines - id类型: string
- is类型: boolean
Automated - is类型: boolean
Blue Verified - is类型: boolean
Translator - location类型: string
- media类型: integer
Count Integer numbers.
- message类型: string
- name类型: string
- pinned类型: array string[]
Tweet Ids - possibly类型: boolean
Sensitive - profile类型: object
_bio - description类型: string
- entities类型: object
- description类型: object
- urls类型: array object[]
- display类型: string
_url - expanded类型: string
_url - indices类型: array integer[]
- url类型: string
- url类型: object
- urls类型: array object[]
- display类型: string
_url - expanded类型: string
_url - indices类型: array integer[]
- url类型: string
- profile类型: string
Picture - statuses类型: integer
Count Integer numbers.
- type类型: string
- unavailable类型: boolean
- unavailable类型: string
Reason - url类型: string
- user类型: string
Name - verified类型: string
Type - withheld类型: array string[]
In Countries
- description类型: string | null
- id类型: string | null
- invites类型: string | null
_policy - is类型: boolean
_nsfw - is类型: boolean
_pinned - join类型: string | null
_policy - member类型: integer
_count Integer numbers.
- members类型: array object[]
_preview 空对象 - moderator类型: integer
_count Integer numbers.
- name类型: string | null
- primary类型: object
_topic - id类型: string | null
- name类型: string | null
- question类型: string | null
- role类型: string | null
- rules类型: array object[]
- description类型: string
- id类型: string
- name类型: string
- search类型: array string[]
_tags
- 类型: stringmsg
- 类型: string 枚举status值
- success
- error
application/json - 400
无法处理该请求。请检查请求参数。
- 401
需要有效的 Felo API 密钥。
- 402
由于未满足计费要求,请求无法继续。
- 403
该账户无权执行此操作。
- 429
已达到请求或支出限额。
- 502
服务无法完成该请求。
- 503
API 或计费服务暂时不可用。
- 504
服务在处理请求时超时。
- default
错误响应;上游透传响应可能采用提供方格式
application/json
Request Example for get/v1/beta/twitter/community/info
curl 'https://openapi.felo.ai/v1/beta/twitter/community/info?community_id=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"community_info": {
"id": null,
"name": null,
"description": null,
"question": null,
"member_count": 1,
"moderator_count": 1,
"created_at": null,
"join_policy": null,
"invites_policy": null,
"is_nsfw": true,
"is_pinned": true,
"role": null,
"primary_topic": {
"id": null,
"name": null
},
"banner_url": null,
"search_tags": [
"string"
],
"rules": [
{
"id": "string",
"name": "string",
"description": "string"
}
],
"creator": {
"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",
"profile_bio": {
"description": "string",
"entities": {
"description": {
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
]
},
"url": {
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
]
}
}
}
},
"admin": {
"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",
"profile_bio": {
"description": "string",
"entities": {
"description": {
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
]
},
"url": {
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
]
}
}
}
},
"members_preview": [
{}
]
},
"status": "success",
"msg": "string"
}