Attempt to change profile picture

I’m trying to allow my users to change their profile picture through the API system. However it only allows them to edit their bio/description. Is there anything I can do to change profile picture?

PUT https://api.twitch.tv/helix/users?description=

Example of Use
PUT https://api.twitch.tv/helix/users?helix/users?profile_image_url=http://pngimg.com/uploads/twitch/twitch_PNG28.png

PUT /helix/users?helix/users?profile_image_url=http://pngimg.com/uploads/twitch/twitch_PNG28.png HTTP/1.1
Host: api.twitch.tv
Accept: /
User-Agent: Mozilla/5.0 (compatible; Rigor/1.0.0; http://rigor.com)
Authorization: Bearer token
Client-Id: ClientID

I have the scope user:edit added and it still doesn’t allow it to change. I get a success, but no change was made.

It is not possible to update profile image through the API.

As the docs specify for the Update User endpoint the only thing you can change is description https://dev.twitch.tv/docs/api/reference#update-user

I’m confused because another tool was able to do this. Could it be that they weren’t using the API? If so, how were they able to change it so quickly? It couldn’t have been an emulated browser.

Using anything other than the documented endpoints is potentially a violation of Twitch’s Developer Agreement, and/or Twitch’s ToS.

As I said, I know someone who was doing it. But with that response; I’m guessing that it means there is a way and it just isn’t documented. Probably with this?

https://api.twitch.tv/kraken/users/User_ID_Goes_Here/upload_image?client_id=Client_ID_Goes_Here&api_version=5&image_type=profile_image&format=png

You will not get help with this here. You are legally liable if you violate Twitch’s legal agreements by using endpoints not intended for 3rd party use, so we can not support you here. Just because others may be breaking legal agreements does not make it okay for you to do the same.

Furthermore, Kraken is deprecated and will be removed in the future so even if you figured this out yourself it will soon no longer work for you.

Rather than reverse engineerinering or guessing at endpoints. You’ll get further by only using those endpoints documented at http://dev.twitch.tv/docs/

You would be better suited at making a feature request on the UserVoice.

Since at time of writing there is no method to provide any imagery for a channel via the API, including but not limited to emotes, profile, offline image etc and so on

I think it’s not possible with API. However you can read this documentation guide https://dev.twitch.tv/docs/api/reference#update-user

No this API only supports chaning a users “description”

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.