-
Notifications
You must be signed in to change notification settings - Fork 497
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
Problem with getUserPlaylists parameters #226
Comments
Use There is another endpoint to fetch the current user's playlists that doesn't need an explicit userId, but it's not implemented in this library yet. |
That's not what I was asking, but thanks. getUserPlaylists does not need the userId and in that case, it will fetch the playlist of the user that is logged in. I want to know info about the parameters of getUserPlaylists and how to specify them. I did it like I specified it in the question but it doesn't work. In the link that you wrote for more information it is stated that it can have an object with options as parameters but I don't know how to write it. Can you help me with that? Because, in my opinion it is not well explained in the docs. |
True, my fault. I should have read the documentation of the function better. The problem is that there is a bug in the implementation. When the spotifyApi.getUserPlaylists(null, {limit: 27, offset: 7}).then(function(data) { Let me know if that solves it and I'll file a ticket to fix this. |
Yes, that solves it! Thank you very much! Muchas gracias (también soy español) :) |
¡Me alegro de que haya funcionado! |
spotifyApi |
@piyushsingh0992 i am getting same problem if you have solved the problem can you help me? |
This is not working for me. Consistently returns: Has the methodology for this changed? ETA: nm, distregard, error was limit being set was not valid. But I couldn't see the actual error, would be nice. Cheers. |
Hello, I am using this wrapper for NodeJS. I have a question about the getUserPlaylists method and its parameters. I want to specify the limit and the offset and I don't know how to specify them because it is not clear in the docs.
I did it like this but it doesn't work.
spotifyApi.getUserPlaylists({limit: 27, offset: 7}) .then(function(data) {
The text was updated successfully, but these errors were encountered: