简体   繁体   中英

How to use Flickr Oauth authentication for Private photosets?

I am curious if it is possible to authenticate a web app, only once, to access your private photosets through Flickr?

Currently any of the tutorials or ideas I have had/seen use the generic randomly generated tokens that Oauth provides. Thus meaning, I have to have the user of the web app click to authorize each and every time they want to view a specific photoset.

How do I make it so that I can use my web app to access my own Private photosets and validate only once, so that other users dont have to?

Thanks in advance.

Once a user authorizes you access to their account, flickr will send back to you an OAuth token. OAuth tokens are long lived, you can use them repeatedly until the user revokes/removes the authorization. Save them in your database and associate it the user. Note: OAuth token tokens are unique to application (domain/realm) + user.

This is where a user would typically revoke a permission .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM