jostheim
unread,Jun 8, 2010, 1:08:16 AM6/8/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Twitter Anywhere Development
Hi-
The @anywhere javascript is thinly documented (I am being nice saying
that :) ). I have some questions.
1.) When doing a Status.search() can I say how many search results I
want (up to the limit)? Can I supply a since_id parameter?
2.) When I get a result back the only thing I can seem to do is go
through the statuses using the each() functionality. This doesn't
work for me, I need to know when I am done going through the list so I
can update some other things, how do I either get the whole list of
statuses, or do a closure to call something when I am done going
through the entire list?
3.) For User.timeline(), can I provide a since_id, if so how?
4.) In firebug a see a whole list of functions on my "result" objects
from doing a Status.search()... What do each of those do and how do I
use them? For thoroughness here they are:
each (I know what this one does)
filter (you have an example for this one)
first (you have an example for this one)
concat
every
find
get
join
last
length
map
none
pop
push
some
I need to be able to do the same things I can do with the old api in
order to use this... should I just go back to the old api with
callbacks?
James