We already have GetThreadPosts which is good to use an index range to get the posts in-order of a thread (or reply thread). But the home feed includes followed posts inserted at any point in the feed. We need a way to get arbitrary top-level posts by Post ID. This PR adds GetJsonTopPostsByID.
Tested in the GnoSoclal demo app with the following code:
We already have
GetThreadPosts
which is good to use an index range to get the posts in-order of a thread (or reply thread). But the home feed includes followed posts inserted at any point in the feed. We need a way to get arbitrary top-level posts by Post ID. This PR addsGetJsonTopPostsByID
.Tested in the GnoSoclal demo app with the following code:
Example value of
json
: