Are likes { } limited in some way? if so, I’ll probably go with x, y, z and [likeCount - 3] others.
My question was if asking for names to likes is limited somehow, as to not get an infinite list when 1k people "like" a post. It doesn't matter to much for now though ^_^.
I noticed I’m only getting 10 messages at a time
There must be a bug with the number of results getting returned. That has been working fine but I changed some things very recently that must have broken it. Or, it might be your query, so can you show me the query you’re using?
{
posts(last: 100, orderBy: ASSERTED) {
edges {
node {
id,
author {
name,
id
},
likesCount,
text,
assertedTimestamp,
rootKey
}
}
}
}
`
Not really, I chose a name that would be most familiar to someone coming from outside. Likes are straight outta facebook. And also that’s the naming that’s used all through the patchwork code.
I’m actually leaning towards not doing this. My preference is to not opinionate this api too early. I’d much rather have a bunch of example queries that you can copy paste. Like, “here’s a query to build a public feed like patchwork”.
Sounds awesome!