Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reviews sorting body structure fix #708

Closed

Conversation

tugbargn
Copy link

Key Changes:
The original payload was URL-encoded (%5B, %22, etc.), which made it harder to read and debug. I decoded it into a more readable JSON-like structure.

I adjusted the structure of the array inside the payload to match the expected format for the Google Play API.
Specifically:

The sort and numberOfReviewsPerRequest variables are now correctly placed in the array.

@facundoolano
Copy link
Owner

Thanks. I'm seeing some Unnecessary escape character: \" errors, can you fix those?

@tugbargn
Copy link
Author

tugbargn commented Jan 30, 2025

Thanks. I'm seeing some Unnecessary escape character: \" errors, can you fix those?

I did't but it didn't work.

Here is the updated version (decoded version):
[REQUEST_TYPE.initial]: f.req=[[["UsvDTd","[null,[2,${sort},[${numberOfReviewsPerRequest}],null,[null,null,null,null,null,null,null,null,2]],[\"${appId}\",7]]",null,"generic"]]],

Here is the updated version (encoded version):
[REQUEST_TYPE.initial]: f.req=%5B%5B%5B%22UsvDTd%22%2C%22%5Bnull%2C%5B2%2C${sort}%2C%5B${numberOfReviewsPerRequest}%5D%2Cnull%2C%5Bnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2Cnull%2C2%5D%5D%2C%5B%5C%22${appId}%5C%22%2C7%5D%5D%22%2Cnull%2C%22generic%22%5D%5D%5D,

Should I open another PR?

@tugbargn tugbargn closed this by deleting the head repository Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants