Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Libraries to connect to Instant Messaging (IM) services like Yahoo , MSN, AIM through Java Program [closed]

I am looking for some library that will help me connect to IM networks through a Java program.

My requirement is as follows:

  1. User should be able to login, retrieve friend list, and able to send messages to his friends
  2. Messages should be delivered to offline friends too.

I have done some research about lib-purple. But its not written in Java. Is there any Java wrapper available for the same, so that I can use it with a Java program ?? Or some libpurple plugin that can be used with an XMPP server ?? Or is there any other solution.

Thanks Aneez

PS:

I have tried Openfire XMPP server in conjuction with the IM Gateway Plugin (also tried the Kraken IM Gateway Plugin too). It does not deliver offline messages to MSN and AIM friends (works fine for Yahoo and GTalk).

I have also tried the following libraries and found that they too do not support message delivery to offline friends

  • Java MSN Library
  • jYMSG (for Yahoo)
  • DAIM (for AIM)
like image 937
aneez Avatar asked May 25 '09 10:05

aneez


Video Answer


1 Answers

Do you want the offline messages to be stored locally or on a server? I know AIM/ MSN have some kind of server to store offline messages, but i haven't done enough research to know how accessible that is. Another method would be to create (or use an existing) bot that you send the messages to which would handle delivery.

For aim, JAIMBot appears to provide a library that supports this: http://jaimbot.sourceforge.net/

By Googling "msn offline messaging bot" or similar queries, you might be able to find similar libraries/ bots to handle other systems.

Best of luck!

like image 151
Matt Boehm Avatar answered Sep 23 '22 22:09

Matt Boehm