pledges always paid in chronological order?

0 views
Skip to first unread message

lucy

unread,
Jun 1, 2009, 5:12:41 PM6/1/09
to Tipjoy Developers
Ivan,

Are pledges always paid in time chronological or id chronological
order? Are those two orders always the same?

When I poll for paid transactions I'd like to ask the batch-
transaction endpoint. I want to make sure that it's ok to give the
largest (or, if necessary, most recent) since_id the last paid
transaction I have. I also want to make sure that I can stop
processing the returned transactions once an unpaid one is reached.

It seems that the batch transaction end point's rrp limit is 50. True?

Thanks,
Lucy
(Can't wait to share our app with the world!!)

Ivan Kirigin

unread,
Jun 1, 2009, 5:17:20 PM6/1/09
to tipjoy-d...@googlegroups.com
Transactions are paid chronologically. I believe that means you're
right, and you can look at the since_id of the last paid transaction.

Make sure you're setting rpp and not rrp. That stands for "requests
per page". The minimum is 50 and the default if there is an error in
the input is 50. If you know there are more than 50 transactions, ask
for more, and don't get them, there is a bug and please let me know
about it.

Best,
Ivan
http://tipjoy.com

dinosaur robot

unread,
Jun 1, 2009, 5:25:19 PM6/1/09
to tipjoy-d...@googlegroups.com
Ivan,

http://tipjoy.com/api/getTransactions/?source_twitter_username=ikirigin&rpp=70

returns count=50, as does the same url with rpp=3

Ivan Kirigin

unread,
Jun 2, 2009, 10:44:32 AM6/2/09
to Tipjoy Developers
This is fixed, and now displays 70 results for rpp=70

I've updated the formula for the defaults:
rpp = min( 1000, max(50, rpp) )

This means you wont get less than 50 if they are available, and the
rpp are capped at 1000.

If that 1000 cap is too low, I can increase it. I just want a cap in
place as a sanity check.

Ivan
http://tipjoy.com

On Jun 1, 5:25 pm, dinosaur robot <a.downy.h...@gmail.com> wrote:
> Ivan,
>
> http://tipjoy.com/api/getTransactions/?source_twitter_username=ikirig...
>
> returns count=50, as does the same url with rpp=3
>
> On Mon, Jun 1, 2009 at 5:17 PM, Ivan Kirigin <ivan.kiri...@gmail.com> wrote:
>
> > Transactions are paid chronologically. I believe that means you're
> > right, and you can look at the since_id of the last paid transaction.
>
> > Make sure you're setting rpp and not rrp. That stands for "requests
> > per page". The minimum is 50 and the default if there is an error in
> > the input is 50. If you know there are more than 50 transactions, ask
> > for more, and don't get them, there is a bug and please let me know
> > about it.
>
> > Best,
> > Ivan
> >http://tipjoy.com
>
Reply all
Reply to author
Forward
0 new messages