Question: Paging Follow.OfCurrentUser() with PaginateAll. (.NET Standard 2.0, .NET Framework 4.6.1)
See original GitHub issueI am trying this on my current Spotify account. I follow a total of 227 people, 200 of which are Artists.
var following = await spotify.Follow.OfCurrentUser();
var artistsFollow = following.Artists.Items;
foreach(var item in artistsFollow)
{
Console.WriteLine("Artist: " + item.Name);
}
With the following code I can only get 20 of them, which I assume is the default size of the page. I only have access to the PaginateAll method, due to my .NET Standard version, but I am having trouble finding out where to apply it to get the result I want.
Follow up question: Will the Users type be added in a future version of the API? Thank you in advance!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Can I use a .NET Standard 2.0 package in a classic . ...
Yes, indeed. You can just reference the .NET Standard 2.0 package from within a .NET Framework 4.6.1 project (a framework version lower will ......
Read more >Issue with .NET Standard 2.0 and .NET Framework 4.6.1 ...
This causes unexpected behaviour and errors in some cases (in runtime). Now... I tried to solve that problem. Try 1: First of all...
Read more >NET Standard
In this article .NET Standard versions; Specification; Target .NET Standard .NET Framework compatibility mode ...
Read more >r/dotnet
Questions about upgrading our projects from .NET Framework 4.6.1 to .NET 6.0/Standard 2.0. Hey all, I have a few questions about upgrading ...
Read more >Please stop lying about .NET Standard 2.0 support!
In this post I have a bit of a rant about Microsoft's NuGet packages lying about supporting .NET Standard 2.0 when they kinda...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry for the long response time. It does work well with the FollowersOfCurrentUserRequest, managed get all 200 and print them individually.
I wanted to check if it there are other types of requests that CursorPaging works with, but I saw in the metadata that only implemented for the FollowedArtistsResponse.
Hope this helps! Keep up the great work!
THanks for the feedback! This change is now on NuGET via beta.5