Access Google Talk chat history
Asked Answered
E

1

17

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.

Eversion answered 8/12, 2012 at 3:20 Comment(0)
U
12

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.

Unlock answered 9/12, 2012 at 21:45 Comment(3)
Is there way to at least automate or Simi automate the process of enabling the label? Checking the state of the label being able ectEversion
You could provide the user with a direct link to the Settings -> Labels section of their Gmail: mail.google.com/mail/u/0/?shva=1#settings/labels. This might not work if they're logged into multiple accounts though.Unlock
I tried this before. This only worka(on a mobile device) if you request non mobile site else it redirects to mobile Gmail website. Still much to complicated to expect a user to do sadly.Eversion

© 2022 - 2024 — McMap. All rights reserved.