İçeriğe geç
Twexapi
Türkçe
Esc
gezin⌘Jönizle

auth_token ile Kullanıcı Bilgisi Al

auth_token ile Kullanıcı Bilgisi Al.

API Belgelerine Dön
/Cookie Endpoints
GET/twitter/{auth_token}/user_info
API Yetkilendirmesi
AuthorizationBearer token · headerzorunlu
TwexAPI genel Bearer Token kimlik bilgisi. İstek başlığı: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Yol Parametreleri
auth_tokenstringzorunlu
Çerezden alınan auth_token dizesi
Yanıtlar
200Twitter user info
codeintegerzorunlu
HTTP durum kodu (200 başarılı anlamına gelir)
msgstringzorunlu
Yanıt mesajı (örn: 'success')
dataUserInfo | anyzorunlu
Uç nokta tarafından döndürülen ana veri
Özellikleri göster
Any of:
UserInfo
userIdstringzorunlu
User ID
isBlueVerifiedbooleanzorunlu
Blue verification status
createdAtstringzorunlu
Account creation date
createdAtDatetimestring | any
Account creation datetime in ISO format
Özellikleri göster
Any of:
string
string
any
any
defaultProfilebooleanzorunlu
Default profile flag
defaultProfileImagebooleanzorunlu
Default profile image flag
descriptionstringzorunlu
Profil biyografisi (Bio)
locationstringzorunlu
Location
fastFollowersCountintegerzorunlu
Fast followers count
favouritesCountintegerzorunlu
Likes count
followersCountintegerzorunlu
Followers count
followingCountintegerzorunlu
Following count
hasCustomTimelinesbooleanzorunlu
Has custom timelines flag
isTranslatorbooleanzorunlu
Is translator flag
listedCountintegerzorunlu
Listed count
mediaCountintegerzorunlu
Media count
namestringzorunlu
Kullanıcının görünen adı
normalFollowersCountintegerzorunlu
Normal followers count
pinnedTweetIdsStrany[] | any
Pinned tweet IDs
Özellikleri göster
Any of:
any[]
Array of any
any
any
any
possiblySensitivebooleanzorunlu
Possibly sensitive flag
profileImageUrlHttpsstringzorunlu
Profile image URL
usernamestringzorunlu
Username
statusesCountintegerzorunlu
Tweets count
translatorTypestring | any
Translator type
Özellikleri göster
Any of:
string
string
any
any
verifiedbooleanzorunlu
Legacy verification status
verified_typestring | any
Verification badge type: blue, business, government, etc.
Özellikleri göster
Any of:
string
string
any
any
withheldInCountriesany[] | any
Withheld in countries
Özellikleri göster
Any of:
any[]
Array of any
any
any
any
protectedbooleanzorunlu
Protected account flag
urlstring | any
User profile URL
Özellikleri göster
Any of:
string
string
any
any
descriptionUrlsany[] | any
Description URLs
Özellikleri göster
Any of:
any[]
Array of any
any
any
any
urlsany[] | any
User URLs
Özellikleri göster
Any of:
any[]
Array of any
any
any
any
pinnedTweetIdsany[] | any
Pinned tweet IDs
Özellikleri göster
Any of:
any[]
Array of any
any
any
any
any
any
422Parametre Doğrulama Hatası
detailValidationError[]
Özellikleri göster
Array of ValidationError
locstring | integer[]zorunlu
Özellikleri göster
Array of string | integer
Any of:
string
string
integer
integer
msgstringzorunlu
Yanıt mesajı (örn: 'success')
typestringzorunlu
inputany
ctxobject
Etkileşimli KonsolGET
Etkileşimli Konsol / API TestiGET
Live Console
🌐Hedef Sunucu:https://api.twexapi.io
● Canlı Ortam Hazır
✍️
Yazma İşlemi Kimlik Kılavuzu (TwexAPI Anahtarı + Twitter Çerezi)

1. TwexAPI Anahtarı (Bearer Token): İstek faturalandırması ve kimlik doğrulama için aşağıdaki "API Yetkilendirmesi"ne girin.

2. Twitter Hesabı Çerezi: Yazma işlemleri için (tweet, beğeni, takip), aşağıdaki cookie alanına hedef hesabın Çerezini (örn. auth_token=...; ct0=...) girin.

🔑API Yetkilendirmesi
⚙️Parametreler (1)
📡
暂无响应数据

请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。

İstek
curl -X GET "https://api.twexapi.io/twitter/string/user_info" \
  -H "Authorization: Bearer YOUR_TOKEN"
Yanıt
{
  "code": 0,
  "msg": "string",
  "data": {
    "userId": "string",
    "isBlueVerified": true,
    "createdAt": "string",
    "createdAtDatetime": "string",
    "defaultProfile": true,
    "defaultProfileImage": true,
    "description": "string",
    "location": "string",
    "fastFollowersCount": 0,
    "favouritesCount": 0,
    "followersCount": 0,
    "followingCount": 0,
    "hasCustomTimelines": true,
    "isTranslator": true,
    "listedCount": 0,
    "mediaCount": 0,
    "name": "string",
    "normalFollowersCount": 0,
    "pinnedTweetIdsStr": [
      null
    ],
    "possiblySensitive": true,
    "profileImageUrlHttps": "string",
    "username": "string",
    "statusesCount": 0,
    "translatorType": "string",
    "verified": true,
    "verified_type": "blue",
    "withheldInCountries": [
      null
    ],
    "protected": true,
    "url": "string",
    "descriptionUrls": [
      null
    ],
    "urls": [
      null
    ],
    "pinnedTweetIds": [
      null
    ]
  }
}