Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
budax #1
Member since Dec 2015 · 3 posts
Group memberships: Members
Show profile
Subject: Yahoo Messenger Client
Hi,

Does agxXMPP support Yahoo Client. I want to create yahoo client like yahoo messenger for my study purpose where I can login, receive and send message, add buddy, etc. If yes, where can I find the example?

Thank you in advance
Avatar
Alex #2
Member since Feb 2003 · 4298 posts · Location: Germany
Group memberships: Administrators, Members
Show profile
To connect to other IM systems in XMPP transports are used. They are also called Gateways.
When you install a server with transports to other systems, or use an existing XMPP server which is running transports, this is no problem. There exist transport to most other systems like Yahoo, ICQ, AOL, MSN, IRC and others.

Alex
Avatar
budax #3
Member since Dec 2015 · 3 posts
Group memberships: Members
Show profile
Quote by Alex:
To connect to other IM systems in XMPP transports are used. They are also called Gateways.
When you install a server with transports to other systems, or use an existing XMPP server which is running transports, this is no problem. There exist transport to most other systems like Yahoo, ICQ, AOL, MSN, IRC and others.

Alex

Hi Alex. Thank you for your reply. I'm really new to agsXMPP. I have no idea about your comment. Could you please give me a link of tutorial or some examples?
This post was edited on 2015-12-01, 17:31 by budax.
Avatar
Alex #4
Member since Feb 2003 · 4298 posts · Location: Germany
Group memberships: Administrators, Members
Show profile
If you are new to XMPP that take parts of my reply and do research with Google. You will find a lot.
Also read the book which is advertised at the end of the page to get an overview of XMPP.

Sorry, but we cannot teach you the basics of XMPP here.

Alex
Avatar
budax #5
Member since Dec 2015 · 3 posts
Group memberships: Members
Show profile
I registered a jabber account in https://jabber.hot-chilli.net/account/create/. I logged in successfully through your "ConsoleClient" example. Then I registered my existing yahoo account to
yahoo.jabber.hot-chilli.net
using http://psi-im.org/ and when I logged in through your "ConsoleClient" I was successfully able to sign in and able to get all of my buddy list automatically. Here is the code snippet.

  1. XmppClientConnection xmpp = new XmppClientConnection();
  2.  
  3. Jid jid = new Jid("myid@hot-chilli.net");
  4.  
  5. xmpp.Server = jid.Server;
  6. xmpp.ConnectServer = "yahoo.jabber.hot-chilli.net";
  7. xmpp.Username = jid.User;
  8. xmpp.Password = "mypass";
  9.  
  10. xmpp.AutoAgents = false;
  11. xmpp.AutoPresence = true;
  12. xmpp.AutoRoster = true;

For the second test, I registered one more jabber account in https://jabber.hot-chilli.net/account/create/. My question is how to register to yahoo.jabber.hot-chilli.net using agsXMPP and detect if my jabber account is already registered to gateway server such as yahoo.jabber.hot-chilli.net?
This post was edited on 2015-12-21, 09:41 by Alex.
Avatar
Alex #6
Member since Feb 2003 · 4298 posts · Location: Germany
Group memberships: Administrators, Members
Show profile
Quote by budax:
My question is how to register to yahoo.jabber.hot-chilli.net using agsXMPP

using XEP-0077: In-Band Registration. You should be able to find some examples for this here in the forums.

Quote by budax:
and detect if my jabber account is already registered to gateway server such as yahoo.jabber.hot-chilli.net?
Thats not possible by trying to login and see if you get an error on login. But then you usually still don't know if the user does not exist or the supplied password is wrong. If XMPP servers would tell you which accounts exist and are registered this would be very bad for SPIM.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS