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

get-posts-stateless - how to get 1st level comments? #289

Open
pangia opened this issue Jan 28, 2022 · 1 comment
Open

get-posts-stateless - how to get 1st level comments? #289

pangia opened this issue Jan 28, 2022 · 1 comment

Comments

@pangia
Copy link

pangia commented Jan 28, 2022

There is a 'FetchSubComments' flag to set (which does not seem to work, maybe it is dependent on other flags?).

I see no top level comments option for this api call. I need to get all of 1st level comments for each post without having to call the 'get-single-post' api. is this possible?

@pangia
Copy link
Author

pangia commented Feb 2, 2022

Also cannot get sub comments to populate on get-single-post call.

Using:

get-single-post
{
"PostHashHex":"f31d16c810c6e3381fcc07553582bf2a07e4a655229e40dca9b7a5d18f398878",
"CommentOffset":0,
"CommentLimit":100,
"FetchParents":true,
"ReaderPublicKeyBase58Check":"BC1YLg7LJ54EfvEyCPqLFP3aUo9rPjNStwC4w73C3Me6yzzX2iiDry4"
}

The comment count of sub-posts is populated, but comments array is blank.

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

No branches or pull requests

1 participant