flickr OAuth check token?

Jan 19, 2012 at 9:50 PM

I've changed my application to use OAuth, and things seem to be working fine.  However, I know my OAuth access token will eventually expire.  I was looking for a straightforward way to check to ensure my access token is still valid (like AuthCheckToken, but for OAuth). 

The Flickr API seems to have a flickr.auth.oauth.checkToken method (http://www.flickr.com/services/api/flickr.auth.oauth.checkToken.html), but I could not find a corresponding function in flickr.net (maybe I'm just missing it).

When I call the flickr API method directly with an invalid token, I get what I'd expect:

<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
  <err code="98" msg="Invalid token" />
</rsp>
Coordinator
Jan 20, 2012 at 9:49 AM

Yes, I added that to the library yesterday actually.

I need to do another build and then release that.

Sam

Jan 20, 2012 at 12:23 PM

Thanks!

Jay