Obtener miembros de comunidad paginados
Obtener miembros de comunidad paginados.
Volver a la referencia de API
/Communities Endpoints
POST
/twitter/community/members/pageAutorización de API
AuthorizationBearer token · headerrequeridoToken Bearer global para TwexAPI. Incluido como: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Cuerpo de la solicitud
requeridoapplication/jsonnext_cursorstring | anyCursor para paginación de la siguiente página
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anycommunity_idstringrequeridoThe ID of the community to get members from.
Respuestas
200Current page data (up to 20 members) and pagination metadata (has_next_page, next_cursor).
codeintegerrequeridoCódigo de estado HTTP (200 indica éxito)
msgstringrequeridoMensaje de respuesta (ej. 'success')
dataUserModel[]requeridoCarga de datos devuelta por el endpoint
Mostrar propiedadesOcultar propiedades
Array of
UserModelidstringrequeridoUser ID
namestringrequeridoNombre mostrado del usuario
screen_namestringrequeridoNombre de usuario (Handle, sin @)
created_atstring | anyFecha y hora de creación (UTC)
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anycreated_at_datetimestring | anyAccount creation datetime in ISO format
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anycan_dmboolean | anyWhether the user can be direct messaged
default: false
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anycan_media_tagboolean | anyWhether the user can be tagged in media
default: false
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anydefault_profileboolean | anyWhether the user has a default profile
default: false
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anydefault_profile_imageboolean | anyWhether the user has a default profile image
default: false
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anydescriptionstring | anyBiografía del perfil
default: ""
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anydescription_urlsstring[]List of URLs found in the user's description
default: []
urlsurlModel[] | anyList of URLs found in the user's profile
Mostrar propiedadesOcultar propiedades
Any of:
urlModel[]
Array of
urlModelurlstringrequeridoURL
expanded_urlstring | anyExpanded URL
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anydisplay_urlstring | anyDisplay URL
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyany
anyfast_followers_countinteger | anyCount of fast followers
default: 0
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anyfavourites_countinteger | anyNumber of tweets the user has liked
default: 0
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anyfollowers_countinteger | anyNúmero total de seguidores
default: 0
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anyfollowing_countinteger | anyNúmero total de seguidos
default: 0
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anyhas_custom_timelinesboolean | anyWhether the user has custom timelines
default: false
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anyis_blue_verifiedboolean | anyBlue verification status
default: false
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anyverified_typestring | anyVerification badge type when not blue-only: blue, business, government, etc.
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyis_verifiedboolean | anyTrue if the account has any verification badge (blue, business, government, or legacy verified)
default: false
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anyprofile_image_shapestring | anyProfile image shape (Circle or Square; Square often indicates business/government)
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyis_translatorboolean | anyWhether the user is a translator
default: false
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anylisted_countinteger | anyNumber of public lists the user is a member of
default: 0
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anylocationstring | anyUser's location
default: ""
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anymedia_countinteger | anyNumber of media tweets posted by the user
default: 0
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anynormal_followers_countinteger | anyCount of normal followers
default: 0
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anypinned_tweet_idsstring[]List of pinned tweet IDs
default: []
possibly_sensitiveboolean | anyWhether the user's profile may contain sensitive content
default: false
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anyprofile_banner_urlstring | anyURL of the user's profile banner
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyprofile_image_urlstring | anyURL of the user's profile image
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
anyprotectedboolean | anyWhether the user's tweets are protected
default: false
Mostrar propiedadesOcultar propiedades
Any of:
boolean
booleanany
anystatuses_countinteger | anyNumber of tweets posted by the user
default: 0
Mostrar propiedadesOcultar propiedades
Any of:
integer
integerany
anyhas_next_pagebooleanrequeridoIndica si hay más páginas disponibles
next_cursorstring | anyCursor para paginación de la siguiente página
Mostrar propiedadesOcultar propiedades
Any of:
string
stringany
any422Error de validación de parámetros
detailValidationError[]Mostrar propiedadesOcultar propiedades
Array of
ValidationErrorlocstring | integer[]requeridoMostrar propiedadesOcultar propiedades
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequeridoMensaje de respuesta (ej. 'success')
typestringrequeridoinputanyctxobject⚡Consola interactivaPOST
⚡Consola interactiva / Probar APIPOSTLive Console
🌐Servidor objetivo:
https://api.twexapi.io● Producción lista
🔍
Lectura de datos públicos (Solo clave TwexAPI, sin cookie de Twitter)
Este endpoint consulta datos públicos de Twitter: ¡no se requiere cuenta ni Cookie de Twitter! Simplemente ingrese su clave TwexAPI (Bearer Token) en "Autorización API" para probar.
🔑Autorización API
📝Cuerpo de la solicitudapplication/json
📡
暂无响应数据
请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。
Solicitud
curl -X POST "https://api.twexapi.io/twitter/community/members/page" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"next_cursor": "",
"community_id": "string"
}'const response = await fetch("https://api.twexapi.io/twitter/community/members/page", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"next_cursor": "",
"community_id": "string"
})
});import requests
response = requests.post(
"https://api.twexapi.io/twitter/community/members/page",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"next_cursor": "",
"community_id": "string"
},
)Respuesta
{
"code": 0,
"msg": "string",
"data": [
{
"id": "1717001045992251392",
"name": "Cryptoklepto",
"screen_name": "CK_Cryptoklepto",
"created_at": "Mon Oct 28 02:32:47 +0000 2024",
"created_at_datetime": "2024-10-28T02:32:47.000Z",
"can_dm": false,
"can_media_tag": false,
"default_profile": false,
"default_profile_image": false,
"description": "",
"description_urls": [],
"urls": [
{
"url": "https://www.google.com",
"expanded_url": "https://www.google.com",
"display_url": "www.google.com"
}
],
"fast_followers_count": 0,
"favourites_count": 0,
"followers_count": 0,
"following_count": 0,
"has_custom_timelines": false,
"is_blue_verified": false,
"verified_type": "government",
"is_verified": false,
"profile_image_shape": "Circle",
"is_translator": false,
"listed_count": 0,
"location": "New York, USA",
"media_count": 0,
"normal_followers_count": 0,
"pinned_tweet_ids": [],
"possibly_sensitive": false,
"profile_banner_url": "string",
"profile_image_url": "string",
"protected": false,
"statuses_count": 0
}
],
"has_next_page": true,
"next_cursor": "1234567890"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}