how to use LiveMessage in WPF

Dec 15, 2009 at 7:37 AM

Hello All,

I am very new at this, so forgive me if I am asking the obvious.

I have to write some code for a wpf application that can chat with friends in the chat room.

(I can send/receive message from/to online friend.)

I find out the class livemessage can do this thing but i can not run it currently

var result = api.LiveMessage.Send((long)friend.uid, "SendCallback", "sending a message...");
public delegate void SendCallback(    bool result,    Object state,    FacebookException e);

I do not know how to use it in WPF and i
t seem only run in FBJS

Does anyone know how to do it ? Or i can use other method?  or give me some sample code??

Thanks

(my English is very broken , please forgive me )