I'm trying to make a chat application for Gmail on Java, but I couldn't find any API for this purpose. I was told about OAuth but I don't think it has any such feature. Please suggest me an API or help me use OAuth in this situation. Thanks in advance.
            Asked
            
        
        
            Active
            
        
            Viewed 1,426 times
        
    3 Answers
3
            Google uses the XMPP protocol for its chats.
- XMPP Java API Overview
- a simple tutorial using the Smack library
 
    
    
        user219882
        
- 15,274
- 23
- 93
- 138
0
            
            
        Gmail utilises a web-based version of Google Talk (GTalk). GTalk is a Jabber/XMPP-based chat system.
I'd recommend looking at a Jabber/XMPP library for Java, such as Smack, noted as an answer in this question; best java jabber client library
 
    
    
        Community
        
- 1
- 1
 
    
    
        Jake Edwards
        
- 1,190
- 11
- 24
0
            
            
        Google Chat, and Google Talk, use the XMPP protocol. You might find it useful to read the Google documentation here... https://developers.google.com/talk/
 
    
    
        wattostudios
        
- 8,666
- 13
- 43
- 57
