Help - Search - Members - Calendar
Full Version: Update Profile
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
usbeck
Hello

I use skype.set_Profile(string Properties, string Pval) in order to upgrade the profile. For all the text field it's working (fullname, province, city, website, phone, about, mood) but for all the others, I don't know how to do.

By example, skype.currentUserProfile.country returns a string "fr France" but when I do skype.set_Profile("Country","fr France") it doesn't work. ( Error => invalid property value given )

Someone knows which "structure , format" I have to use in my string to upgrade the field Country and the others fields "Language", "Sex", "Birthday"

Thanks in advance


Edit : arf apparently it doesn't work for the phone number too : /
Edit : it works with phone number, my mistake. But i don't success in doing work for the country and language... an idea from here ? ==> https://developer.skype.com/Docs/ApiDoc/PROFILE_object plz help sadsmile.png
usbeck
The API description is wrong,
it's not
COUNTRY - iso2 name, a two letter ISO code; name - country name
but
COUNTRY - iso2 , a two letter ISO code

Resolve ^^
Avo Nappo

> But i don't success in doing work for the country and language... an idea from here ?

GET PROFILE COUNTRY

returns two values: iso2 and country name. Now, it would be quite silly to require same two values for SET, so for set only 1st of those two is needed, for example:

SET PROFILE COUNTRY ee
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.