Re: Connecting to twitter

Michael Hendricks <[email protected]> Fri, 11 Jul 2014 09:29:15 -0600
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <CAFHuXua-yxoBtit2X7xZVW11mjY4Vea=+oS_uiG-Wbe_DfFqHw@mail.gmail.com>
On Fri, Jul 11, 2014 at 8:21 AM, Sam Neaves <[email protected]> wrote:

> I am having trouble understanding the Oauth requirements of twitter.


It's unfortunate that so many websites rely solely on OAuth these days.  It
makes it much more complicated for small programs.

My first recommendation would be to use foauth.org  You interact with their
free service via basic HTTP authentication.  They handle all the OAuth
details behind the scenes.

I also have some really ugly OAuth code in
https://github.com/mndrix/tomorrow/blob/master/prolog/tomorrow.pl#L244
 Perhaps that will help if foauth doesn't meet your requirements.

Good luck.

-- 
Michael
-------------- next part --------------
HTML attachment scrubbed and removed