You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And i use this code to get the token for my application:
ifos.getenv('FLICKR_API_KEY'):
self.stdout.write(self.style.SUCCESS('No ENV found'))
# Only do this if we don't have a valid token alreadyifnotsettings.FLICKR.token_valid(perms='read'):
self.stdout.write(self.style.SUCCESS('Need new token'))
# Get a request tokensettings.FLICKR.get_request_token(oauth_callback='oob')
# Open a browser at the authentication URL. Do this however# you want, as long as the user visits that URL.authorize_url=settings.FLICKR.auth_url(perms='read')
print(authorize_url)
self.stdout.write(self.style.SUCCESS(authorize_url))
# webbrowser.open_new_tab(authorize_url)# Get the verifier code from the user. Do this however you# want, as long as the user gives the application the code.verifier=str(input('Verifier code: '))
# Trade the request token for an access tokensettings.FLICKR.get_access_token(verifier)
else:
self.stdout.write(self.style.SUCCESS('No login needed'))
The text was updated successfully, but these errors were encountered:
Hi,
I try to use this package to get a list of albums but i only get the public albums and i need the private ones as well.
And i use this code to get the token for my application:
The text was updated successfully, but these errors were encountered: