accounts.update_profile_image
POST
/account/update_profile_image.json
authenticating user's profile image. Note that this method expects raw multipart data, not a URL to
an image. This method asynchronously processes the uploaded file before updating the user's profile
image URL. You can either update your local cache the next time you request the user's information,
or, at least 5 seconds after uploading the image, ask for the updated URL using GET
users/profile_image/:screen_name
(https://dev.twitter.com/docs/api/1/get/users/profile_image/:screen_name).
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.twitter.com/1.1/account/update_profile_image.json'
响应示例响应示例
{}
请求参数
无
返回响应
修改于 2024-09-24 06:06:38