Forum Discussion

b_poplin's avatar
b_poplin
Expert
11 years ago

Avatar API reset avatar.coordinates.message

Hello All,   How do I reset avatar.coordinates.message to null (or the original state) through an API?   When a user edits their avatar on desktop, they can crop and pan an image.  This creates a...
  • YuriK's avatar
    10 years ago
    Hey Britt,

    I'm not sure if this is what you're looking for but you can use the url_icon_h and url_icon_w profile fields to set the height and width that you want for your avatar.

    You should be able to set the profile fields using the /profiles/name/url_icon_w/set and /profiles/name/url_icon_h/set calls and they both take an integer specifying the size.

    In fact you might even be able to set the coordinates field directly using /profiles/name/avatar.coordinates.message/set.

    Hope this helps,

    Yuri