Problem: Getting threaded reactions with "since"

2 views
Skip to first unread message

osks

unread,
Sep 1, 2009, 8:47:38 AM9/1/09
to contextvoice-dev
Hi,

I'm looking into using "threaded=true", mainly with Twitter, to group
retweets together with their parent (with the JSON format). I use the
"since" parameter to not have to re-fetch everything for every new
reaction, but I noticed a problem when combining these two parameters:
If the original tweet isn't returned in the same response as the
retweet, the retweet won't be listed as a child and it doesn't contain
a "parent" pointer either.

Is there any way to get this information without having to paginate
through all old information with the current API? If not, would it be
possible for you to fix this in some way? For us, the best way would
probably be to always list re-tweets as children, that is always
include the parent, even if it's older than the "since" value.

Another option that perhaps could work (from our point of view) is if
the retweet included something like "parent": "<url>". Just to know
that it's a retweet helps a little bit, but to know what the parent is
would really help a lot.

Best regards,
Oskar

Dan Ciotu

unread,
Sep 2, 2009, 9:43:51 AM9/2/09
to contextv...@googlegroups.com
Hi,

We modified the api response to include the parent_url to all reactions that have parents.

The new response will still not show you the parent of a reaction if it is smaller than the since argument, but now you have a way of keeping tabs on which retweet is where.

Please let us know if there are any other problems.

Dan
Reply all
Reply to author
Forward
0 new messages