question

Takuya Nakajo avatar image
Takuya Nakajo asked

Count property of GetItemReviewsRequest does not work

I thought that by specifying 2 in the Count property of GetItemReviewsRequest, only 2 results of GetItemReviews would be retrieved, but 5 results were retrieved. Am I understanding Count incorrectly?

Code

private void GetItemReviews()
{
    PlayFabEconomyAPI.GetItemReviews(new GetItemReviewsRequest
    {
        Id = "d7cda316-1834-4f3d-93f8-eb3305327665",
        Count = 2,
    }, result =>
    {
        Debug.Log($"Review Count: {result.Reviews.Count}");
    }, error =>
    {
        Debug.Log(error.GenerateErrorReport());
    });
}

Result

Environment

Unity SDK 2.120.211209

4 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

JayZuo avatar image JayZuo ♦ commented ·

Your understanding is right. The Count property in GetItemReviewsRequest is used to limit the number of items to retrieve. We will try to reproduce this issue.

0 Likes 0 ·
JayZuo avatar image JayZuo ♦ JayZuo ♦ commented ·

Unfortunately, I cannot reproduce your issue. Could you please share your title Id and let me register a test account in your title?

0 Likes 0 ·
Takuya Nakajo avatar image Takuya Nakajo JayZuo ♦ commented ·

Thank you for your confirmation. The title ID is B2347. I need your email address to add a user, where can I find your email address?

0 Likes 0 ·
Show more comments

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.