Help - Search - Members - Calendar
Full Version: How to compare skype friend
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
Read_Flybear
I want to connect a friend,but when I get the friend UserHandle, I want to compare skype friend list, if I have the friend userhandle,I don`t add him, I know I can uses the api "GetFriends".but have any easy api like ex:"CompareFriend(str)" can tell me whether I have the friend
Mirje
You can use use this command GET USER <username> BUDDYSTATUS

Different buddystatuses are listed here - https://developer.skype.com/Docs/ApiDoc/USER_object

BUDDYSTATUS -
0 - never been in contact list.
1 - deleted from contact list. (read-write)
2 - pending authorization. (read-write)
3 - added to contact list.


The other way is to use the following command - SEARCH FRIENDS command which will give you the list of your all contacts. Now you can compare if the username you are looking for is included in that list or not.



Regards,
Mirje


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