Gmail API and Oath 2 - How to access using LiveCode ?

Mike Kerner MikeKerner at roadrunner.com
Sun Nov 29 15:25:12 EST 2015


Just an FYI, the mergGoogle library also works on Macs (but not other
platforms, yet, I don't think)

On Sun, Nov 29, 2015 at 2:59 PM, David Bovill <david at viral.academy> wrote:

> I've some experience of oAuth 1 and 2 in LiveCode - and Andre Garcia has
> some provisional libraries. I also need to use oAuth 2 with Google services
> so would be happy to contribute.
>
> On 29 November 2015 at 16:34, Roland Huettmann <roland.huettmann at gmail.com
> >
> wrote:
>
> > Thank you for the hint to Monte.
> >
> > I am aware of Monte ). But I am working on Windows. And as far as I know,
> > it won't work on Windows?
> >
> > If there is anything coming for Windows, I will be glad to have a look.
> >
> > Roland
> >
> >
> >
> > On 29 November 2015 at 16:13, Mike Kerner <MikeKerner at roadrunner.com>
> > wrote:
> >
> > > Check with Monte.  He wrote the mergGoogle external for accessing
> google
> > > spreadsheets.
> > >
> > > On Sun, Nov 29, 2015 at 8:45 AM, Roland Huettmann <
> > > roland.huettmann at gmail.com> wrote:
> > >
> > > > Good day to all )
> > > >
> > > > I am trying to develop a LiveCode application using an SQL database
> > with
> > > > the ability to have access to my Gmail account (mail and contacts)
> and
> > > NOT
> > > > using the standard IMAP protocol, but using OAuth 2.0. There are
> other
> > > APIs
> > > > I would like to access as well.
> > > >
> > > > The idea behind is to UNIFY all messages (email, messages, letters
> into
> > > > contacts and message repository) from all kinds of different sources
> > > under
> > > > one single umbrella to be able to add notes, tags, sort and filter,
> > > extract
> > > > time information, etc. And basically I want everything in one place
> so
> > > that
> > > > also everything can be related to each-other.
> > > >
> > > > I had a developer developing access for Gmail OAuth 2.0 using Python.
> > It
> > > > works half way. It downloads mail messages and creates them as files
> on
> > > my
> > > > system in a specified directory. It could be used importing into the
> > > > database using LiveCode. But it requires installation of Python and I
> > > would
> > > > be happier using just LiveCode.
> > > >
> > > > And the problem is still that Google sends a token which must be
> > manually
> > > > copied and pasted which is less than user-friendly. And also there is
> > not
> > > > full functionality yet. This problem my developer could not solve.
> > > >
> > > > And if all this could be done using LiveCode (script or builder) that
> > > would
> > > > be fantastic.
> > > >
> > > > ( I would not feel fit using LCB - LiveCode Builder language - yet. I
> > > would
> > > > probably give such task to someone who knows and possibly is a C++
> > > > programmer. There is knowledge needed which I currently do not have.
> If
> > > LCS
> > > > - LiveCode script - could be used, even better for my own abilities.)
> > > >
> > > > And I was thinking whether or not there is anybody who has used OAuth
> > 2.0
> > > > (orOAuth other versions) to get the credential accessing something
> like
> > > > Gmail using LiveCode.
> > > >
> > > > https://developers.google.com/gmail/oauth_overview?hl=en
> > > >
> > > > Is there any experience doing this? Any code fragments? Anyone who
> has
> > > been
> > > > accessing using OAuth 2.0?
> > > >
> > > > Also I am interested in IMAP and how to access IMAP through LiveCode.
> > > >
> > > > Regards, Roland
> > > > _______________________________________________
> > > > use-livecode mailing list
> > > > use-livecode at lists.runrev.com
> > > > Please visit this url to subscribe, unsubscribe and manage your
> > > > subscription preferences:
> > > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > > >
> > >
> > >
> > >
> > > --
> > > On the first day, God created the heavens and the Earth
> > > On the second day, God created the oceans.
> > > On the third day, God put the animals on hold for a few hours,
> > >    and did a little diving.
> > > And God said, "This is good."
> > > _______________________________________________
> > > use-livecode mailing list
> > > use-livecode at lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list