How Can I get the friends list?

I install the openfire, then I use Linq to login. Then I MUST manually register the msn, gtalk, yahoo… service on the dialog , I can get my friends list in the clients.

Now I want to get the friends list in my application, after I login First Time, I must register the msn, gtalk, yahoo… service then I can get the firends list.

Who can tell me how to register the service but not manually register?

You can add registrations to transports via Admin Console of Openfire. But you still will have to login manually for the first time. After this you can set “Sign in at login” checkbox.