Help - Search - Members - Calendar
Full Version: GET AVATAR - Is it real?
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
merton_a
In the post at http://share.skype.com/sites/garage/2007/0...ws_31_beta.html
(By Märten on February 21, 2007) it is said that

"Today we have released Skype for Windows 3.1 Beta.

Release notes for the new version are:

...

feature: API: possible to get contact’s avatar and get and set own avatar

..."

(My highlighting)

Is this correct?

If so, is it documented anywhere?

I've tried variations on "GET AVATAR handle" using Skype Tracer, and get no joy...

Enquiring minds (my users!) want to know...
spud5
QUOTE(merton_a @ Thu Mar 29 2007, 13:04) [snapback]377732[/snapback]

..
I've tried variations on "GET AVATAR handle" using Skype Tracer, and get no joy...

Enquiring minds (my users!) want to know...



Try
GET USER echo123 AVATAR 1 C:\echo123.jpg

Syntax
GET USER handle AVATAR 1 filename
Mirje
This command is working with 3.1. More information can be found from this Jira post - https://developer.skype.com/jira/browse/SPA-166

It will be added soon to the official documentation in DevZone also but currently that Jira issue is the only reference.

There's also more new commands, which are implemented in 3.1. New doc will be available soon, but for the moment check also these Jira cases for more information:

https://developer.skype.com/jira/browse/SPA-216
https://developer.skype.com/jira/browse/SPA-172
https://developer.skype.com/jira/browse/SPA-224

Regards,
Mirje
merton_a
Blimey - it worked!

For some reason it got "ERROR 123 ... Access is denied" for C:\echo123.jpg, but worked to another directory...

Thanks...

merton_a
QUOTE(spud5 @ Thu Mar 29 2007, 13:58) [snapback]377749[/snapback]

Try
GET USER echo123 AVATAR 1 C:\echo123.jpg

Syntax
GET USER handle AVATAR 1 filename


Does it actually produce the type of file specified by the extension? The example on the Jira case is a .bmp, as opposed to the .jpg above - does it actually output the format specified? Or just produce whatever the original was, and we have to get the extension right?

Are there any Events (or some other way) to know if a user changes their Avatar? (This is a Skype4COM-oriented question, but an API message would do...)

Also - Can I suggest that the links above should be added to the DevZone on the DevNotes page (if they haven't already), as temporary documentation until the real docs arrive?
merton_a
Yet another request - is there any way to tell whether the Avatar is the default or not? i.e. whether I actually need to save and display it

If not, can we get one in a subsequent release?
Mirje
QUOTE(merton_a @ Fri Mar 30 2007, 07:45) [snapback]378082[/snapback]

Does it actually produce the type of file specified by the extension? The example on the Jira case is a .bmp, as opposed to the .jpg above - does it actually output the format specified? Or just produce whatever the original was, and we have to get the extension right?

Are there any Events (or some other way) to know if a user changes their Avatar? (This is a Skype4COM-oriented question, but an API message would do...)

Also - Can I suggest that the links above should be added to the DevZone on the DevNotes page (if they haven't already), as temporary documentation until the real docs arrive?


Here is a comment from our tech writer...

> Does it actually produce the type of file specified by the extension?

No. It produces files in JPG format. That .bmp in jira case is a good example why those docs are not yet public smile.png

> Are there any Events (or some other way) to know if a user changes their Avatar?

No. The info about avatar changes do propagate through network but no notification messages to 3rd party application are currently produced.

> Also - Can I suggest that the links above should be added to the DevZone
> on the DevNotes page (if they haven't already), as temporary documentation

Yes, you can suggest but it will not happen because
a) those docs still need debugging, as was demonstrated by that case with rogue .bmp extension and
b) because those docs will be available soon anyway

QUOTE(merton_a @ Fri Mar 30 2007, 10:47) [snapback]378138[/snapback]

Yet another request - is there any way to tell whether the Avatar is the default or not? i.e. whether I actually need to save and display it

If not, can we get one in a subsequent release?


We don't provide this kind of API currently. I believe it shouldn't be very hard to do this on your own.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.