I want to add friends of my ektron friend control to messenger directly with the help of api or method

Last post 08-03-2010, 9:23 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  08-03-2010, 2:18 AM 62994

    I want to add friends of my ektron friend control to messenger directly with the help of api or method

    Hi,
     
    Thanks for my earlier help.
     
    I have integrated cute chat integration package with   Ektron CMS,
    And I have one control so called as friend control in ektron that add friend similar to cute chat Messenger adding friend .
     
    Now friend been added to my FRIEND CONTROL, I want same friends to be added  to Messenger . Is this possible using API or same class of cute chat.
     
  •  08-03-2010, 9:23 PM 63049 in reply to 62994

    Re: I want to add friends of my ektron friend control to messenger directly with the help of api or method

    Hi Marium,

    The code below to show you how to add user "macro" into the friend list of user "merry".

    1. CuteChat.ChatPortal portal = CuteChat.ChatSystem.Instance.GetCurrentPortal();   
    2.         lock (portal)   
    3.         {   
    4.             CuteChat.ChatIdentity myid = new CuteChat.AppChatIdentity("nickname"false"User:merry""0.0.0.0");   
    5.             portal.DataManager.AddContact(myid, "User:macro");   
    6.         }  
    Note: format "User:merry" is necessary.
    Regards,
     
    Ken

     

     

View as RSS news feed in XML