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

Picasa Plugin uses wrong API call for useralbum #294

Closed
wants to merge 1 commit into from

Conversation

tony-cocco
Copy link

Included and set up Picasa plug-in (via Bower). Search was working fine. Switched to the following and got an error (Picasa request failed: album or user not found.):

Galleria.run('#galleria', {
  picasa: 'useralbum:116822487665710086731/5215542302391162465',
  picasaOptions: {
    sort: 'date-posted-asc'
  }
});

Looked in galleria.picasa.js and found:

useralbum: function( username, album, callback ) {
  return this._call( 'useralbum', 'user/' + username + '/album/' + album, callback );
}

According to Google's API is should be:

useralbum: function( username, album, callback ) {
  return this._call( 'useralbum', 'user/' + username + '/albumid/' + album, callback );
}

@tony-cocco
Copy link
Author

As a minor note, the example documentation for useralbum will have to change as well. I could not get it to work as stated.

@tony-cocco
Copy link
Author

Closing due to staleness.

@tony-cocco tony-cocco closed this Jan 6, 2023
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

Successfully merging this pull request may close these issues.

None yet

1 participant