Skip to content
This repository has been archived by the owner on Aug 17, 2019. It is now read-only.

Access granted doesn't include write permissions #102

Closed
mspanish opened this issue Jun 25, 2017 · 4 comments
Closed

Access granted doesn't include write permissions #102

mspanish opened this issue Jun 25, 2017 · 4 comments

Comments

@mspanish
Copy link

Well your tool is the only one of about 4 that appears close to working :) - but I redid the auth and noticed that it said the app would NOT have write access - which probably explains why the uploads are failing. Do I need to adjust something? I am using this to authenticate, having set the keys already:

Flickr.authenticate(flickrOptions, function(error, flickr) {
  // we can now use "flickr" as our API object
});

thanks for your work on this, it must have taken a lot of work!

@Pomax
Copy link
Owner

Pomax commented Jun 27, 2017

Thanks! I mostly wrote it (although a while ago by now... time flies) because there were no free Flickr mirror solutions that actually just mirrored the data you had on Flickr. It worked pretty well while I was using it, so just to rule out a missing conf option, did you set the FLICKR_PERMISSIONS variable to write in your .env file? If you did, it's possible Flickr changed something about the authentication process.

@mspanish
Copy link
Author

thanks I did change to "read" and all works great - thank you!!!

@Pomax Pomax closed this as completed Jun 27, 2017
@Pomax
Copy link
Owner

Pomax commented Jun 27, 2017

if you change the permission, remember to remove the stored tokens, so that flickr-mirror can get a new token specific to that permission level (Flickr won't let you use "read" tokens for "read/write" or "read/write/delete", etc)

@mspanish
Copy link
Author

ok thanks very much, lovely work here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants