Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional params not sent with file upload #54

Closed
henrydawson opened this issue Apr 22, 2017 · 2 comments
Closed

Additional params not sent with file upload #54

henrydawson opened this issue Apr 22, 2017 · 2 comments

Comments

@henrydawson
Copy link

henrydawson commented Apr 22, 2017

When performing a file upload, the additional parameters don't seem to be sent. The file uploads correctly, but no additional information (e.g. title, tags, etc ) gets through. I'm running on Node 6

flickr
  .request( token, secret )
  .media()
  .post(  {
    photo: "path/to/file.jpg",
    title: "My title",
    description: "Custom description",
    tags: "beach sun"
 } )
@jeremyruppel
Copy link
Member

Hey @henrydawson! Sorry it took so long to get back to you. I'm fairly certain the current version of our SDK doesn't support passing those additional params through uploads. However, we've been working hard on a major release of this module and I know for a fact it supports these additional params on uploads. Would you mind giving it a look and see if it works for you?

$ npm install flickr-sdk@next

@jeremyruppel
Copy link
Member

We've finally released the next version of our sdk! You can find the current version on the 2.x branch, but I can confirm upload params are included as expected in the new version. Here's a working example for uploads with additional fields.

I'm going to close this out for now, but feel free to reopen this if the new version still isn't working as expected.

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

No branches or pull requests

2 participants