Aller au contenu
Twexapi
Français
Esc
naviguerouvrir⌘Japerçu

Modifier la bio, l'avatar et la bannière

Modifier la bio, l’avatar et la bannière.

Retour à la référence API
/Twitter Profile Actions Endpoints
POST/twitter/profile
Autorisation API
AuthorizationBearer token · headerrequis
Jeton Bearer global pour TwexAPI. Inclus sous la forme : Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Corps de la requête
requisapplication/json
cookiestringrequis
Identifiants de session ou auth_token autorisés de l'utilisateur (BYOC — Bring Your Own Cookie). Exécution proxy sans état avec zéro rétention d'identifiants. Consultez [Sécurité et Authentification](/fr/authentication#write-operations--byoc-bring-your-own-cookie) et [Comment obtenir un Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
namestring | any
Nom de l'utilisateur
Afficher les propriétés
Any of:
string
string
any
any
websitestring | any
Website of the user
Afficher les propriétés
Any of:
string
string
any
any
descriptionstring | any
Biographie du profil
Afficher les propriétés
Any of:
string
string
any
any
locationstring | any
Location of the user
Afficher les propriétés
Any of:
string
string
any
any
profile_imagestring | any
Profile image of the user
Afficher les propriétés
Any of:
string
string
any
any
profile_bannerstring | any
Profile banner of the user
Afficher les propriétés
Any of:
string
string
any
any
proxystring | any
The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://app.proxy-cheap.com/r/qiMxub
Afficher les propriétés
Any of:
string
string
any
any
Réponses
200Réponse réussie
codeintegerrequis
Code d'état HTTP (200 indique le succès)
msgstringrequis
Message de réponse (ex. 'success')
databooleanrequis
Données principales renvoyées par l'API
422Erreur de validation des paramètres
detailValidationError[]
Afficher les propriétés
Array of ValidationError
locstring | integer[]requis
Afficher les propriétés
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequis
Message de réponse (ex. 'success')
typestringrequis
inputany
ctxobject
Console interactivePOST
Console interactive / Tester l'APIPOST
Live Console
🌐Serveur cible :https://api.twexapi.io
● Prêt pour la production
✍️
Guide d'identification d'écriture (Clé TwexAPI + Cookie Twitter)

1. Clé TwexAPI (Bearer Token) : À renseigner sous "Autorisation API" ci-dessous pour la facturation et l'authentification.

2. Cookie Twitter : Pour les opérations d'écriture (tweet, like, etc.), renseignez le Cookie Twitter (ex : auth_token=...; ct0=...) dans le champ cookie ci-dessous.

🔑Autorisation API
📝Corps de la requêteapplication/json
📡
暂无响应数据

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

Requête
curl -X POST "https://api.twexapi.io/twitter/profile" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "cookie": "string",
  "name": "string",
  "website": "string",
  "description": "string",
  "location": "New York, USA",
  "profile_image": "https://example.com/image.jpg",
  "profile_banner": "https://example.com/banner.jpg",
  "proxy": "http://username:password@ip:port"
}'
Réponse
{
  "code": 200,
  "msg": "success",
  "data": true
}