问题
Ok, so I have an app that hooks in pretty deeply with GR's "api".
Everything is working nicely, BUT lately I have been getting permission denied returns from Google. If I log out of GR and log back in with my app it all starts working again. This leads me to believe that the authorization token GR gives you when you log in expires after a month or so.
Has anyone else run into this? If you have, what is the best way to deal with it. I REALLY don't want to have to store people's Google account and password to reauthorize from time to time.
Thanks, David
回答1:
The ClientLogin authentication method provides tokens that expire after two weeks. The OAuth method's tokens never expire.
来源:https://stackoverflow.com/questions/5853435/does-the-google-reader-api-token-expire