如何使用SoundCloud API获得超过350个收藏夹?

时间:2017-05-12 14:22:37

标签: soundcloud

我的soundcloud上有大约600个喜欢(我的个人资料:https://soundcloud.com/bogem/likes),我试着获得我喜欢的完整列表。 但我无法获得超过300个收藏:

$ curl 'https://api.soundcloud.com/users/75306957/favorites?client_id=HIDDEN&limit=150&offset=300'
{"errors":[{"error_message":"403 - Forbidden"}]}

即使是授权:

$ curl 'https://api.soundcloud.com/me/favorites?client_id=HIDDEN&limit=150&oauth_token=HIDDEN&offset=300'
{"errors":[{"error_message":"403 - Forbidden"}]}

我做错了什么或有任何限制?

1 个答案:

答案 0 :(得分:0)

您需要使用linked_partitioning pagination method,它会返回一个包含您喜欢的protected override async void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); ActionBar.Hide(); btnAdd = FindViewById<Button>(Resource.Id.btnAdd); //Notes notesList = FindViewById<ListView>(Resource.Id.lvNotes); //Where I am trying to call the method... await CopyAssetAsync(this); } 对象,以及一个collection,它会为您提供分页的网址。

a blog post about dropping support for offset-based pagination

相关问题