[Steam API] Reviews cursor pointing to previous batch creating loop.
I'm trying to get all reviews for one particular game using

https //psteamproxy.yuanyoumao.com/appreviews/<gameID>?json=1&num_per_page=100&cursor=<cursorValue>.

Each batch provides me with a cursor value to use in the next request to get the next batch.
However, after request #8 value of cursor provided in the response is identical to one provided in the response to request #4. It sends my code into a loop, I keep getting the same batches of reviews again and again.

I double checked it by opening the same URLs in the browser and it's the same there.

Any thoughts on what's causing it?
最后由 [UA]Ramiel 编辑于; 4 月 21 日 上午 6:48
< >
正在显示第 1 - 7 条,共 7 条留言
[UA]Ramiel 4 月 24 日 上午 6:27 
Still unresolved.
SpurloS 6 月 26 日 上午 5:15 
I also ran into this problem recently. Seems like it's still not fixed - any updates on this issue?
[UA]Ramiel 6 月 26 日 上午 6:59 
引用自 SpurloS
I also ran into this problem recently. Seems like it's still not fixed - any updates on this issue?

Yes, I managed to make it work. URL that eventually worked for me looks like this

"https://psteamproxy.yuanyoumao.com/appreviews/{gameId}?json=1&filter=updated&language=all&num_per_page=100&day_range=365&cursor={cursor}"

Including day_range=365 didn't affect the time range or reviews that I got tho. It returned all reviews from day 1 to present day.

Hope this will prove to be helpful. Cheers!
SpurloS 6 月 26 日 上午 7:16 
引用自 UARamiel
引用自 SpurloS
I also ran into this problem recently. Seems like it's still not fixed - any updates on this issue?

Yes, I managed to make it work. URL that eventually worked for me looks like this

"https://psteamproxy.yuanyoumao.com/appreviews/{gameId}?json=1&filter=updated&language=all&num_per_page=100&day_range=365&cursor={cursor}"

Including day_range=365 didn't affect the time range or reviews that I got tho. It returned all reviews from day 1 to present day.

Hope this will prove to be helpful. Cheers!

ah thank you, i will give this a try!
Mr_Sure21 9 月 19 日 上午 5:06 
You have to add the filter as documented:

recent – sorted by creation time
updated – sorted by last updated time
all – (default) sorted by helpfulness, with sliding windows based on day_range parameter, will always find results to return.

If paging through the reviews with cursor then choose either the recent option or the updated option to eventually receive an empty response list.
[UA]Ramiel 9 月 19 日 上午 5:33 
引用自 Mr_Sure21
You have to add the filter as documented:

recent – sorted by creation time
updated – sorted by last updated time
all – (default) sorted by helpfulness, with sliding windows based on day_range parameter, will always find results to return.

If paging through the reviews with cursor then choose either the recent option or the updated option to eventually receive an empty response list.

Thanks, but it's been 3+ months since this issue got resolved.
Eniter 12 月 7 日 下午 12:04 
Sorry for necro, just wanted to say that this helped me a lot!
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50