开发者

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.

T开发者_开发百科hanks Aravind S


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.


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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜