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
I'm trying to use if object.canMakeNextRequest to get all possible artists returned by getMyFollowedArtists however the second request doesn't appear to be returning an object with any items in it. I've tested my code with the getMyTopArtists method and it works properly. I've also manually changed the limit on getMyFollowedArtists to ensure that the API will return more than the default limit, and it does.
Here's a sample of my code just to see what I am doing.
@tomaculum thank you! This is clearly a workaround for a faulty .getNext() method, but it works and for that I am very grateful. I'm going to keep this issue open. A million thank yous!
I'm trying to use
if object.canMakeNextRequest
to get all possible artists returned bygetMyFollowedArtists
however the second request doesn't appear to be returning an object with any items in it. I've tested my code with thegetMyTopArtists
method and it works properly. I've also manually changed the limit ongetMyFollowedArtists
to ensure that the API will return more than the default limit, and it does.Here's a sample of my code just to see what I am doing.
Sample output:
What I'd expect to happen is the what happens if I use the
getMyTopArtists
method like so... changed code following way:Output:
The text was updated successfully, but these errors were encountered: