Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access Google Talk chat history

I'm looking for a method to access Google Talk chat history. Method to be used for an android device but does not have to be specific to it. I am looking for preferably an official method, but this is not required. AFAIK there is no official method. The method must pecifically not,

  1. Through IMAP (requires chat and label to be enabled)
  2. Through Talk.apk's ContentResolver (requires that the talk.apk be installed)

unless it somehow bypasses the problems listed after the methods above.

Googles different Google Talk applications are able to do chat history but there is no documentation that im aware of to how this works.

like image 439
Jug6ernaut Avatar asked Dec 08 '12 03:12

Jug6ernaut


People also ask

Does Google Chat have history?

When you message a person or group in Google Chat, you can choose to save your conversation or have it automatically deleted after 24 hours. When anyone in the chat turns history on or off: A note appears in the message stream that says history was turned on or off.

Does Google save chat history?

The chat from any Google Meet you join will be saved! (along with the transcript). The chat will be saved to a Google Doc under the account you signed in with. It will open up immediately right after the meeting!

How long is Google Chat history kept?

Chat has a 30-day retention period that keeps messages for 30 days after they're deleted. During that period, the messages are still available in Vault.


1 Answers

Google Apps Script has a getChatThreads() API Call.

You're going to face issues with any of these methods. I think the best (of the bad) solutions is to use IMAP and include steps for enabling the Chat label to be accessed via IMAP. One nice thing about OAuth 2.0 Gmail IMAP authentication is that it doesn't depend on the user turning IMAP on in GMail, it just works regardless of the user's IMAP setting.

like image 184
Jay Lee Avatar answered Oct 07 '22 01:10

Jay Lee