Aravind S
Aravind S

Reputation: 91

Yahoo OAuth library in java?

Anybody knows any good yahoo oauth library in java?.

Using that library, i should fetch yahoo mails using oauth authentication.

Thanks Aravind S

Upvotes: 3

Views: 1914

Answers (2)

Vince Horst
Vince Horst

Reputation: 5278

I highly recommend scribe. Very simple API and works great.

On a side note, be aware that Yahoo expires their auth token after 60 minutes so you need to refresh it periodically. Alas, Yahoo is the only oauth provider that I am aware of that expires their token and so scribe and signpost and other oauth APIs don't implement a "refresh token" mechanism. From my research, everyone that uses the APIs has implemented their own custom refresh method, myself included. I and others have approached the scribe author about integrating the refresh token feature but he has no interest.

Upvotes: 2

Alex Gandy
Alex Gandy

Reputation: 46

I've been messing with oauth-signpost recently for interacting with Yahoo YQL...although I haven't found a good 2-legged example.

http://code.google.com/p/oauth-signpost/

Upvotes: 0

Related Questions