Re: [twitter-dev] Re: any way to fetch a time for a group of users specified?

2009-12-27 Thread Abraham Williams
On Fri, Dec 25, 2009 at 18:40, Zhu Wu wzx725...@gmail.com wrote:

 I am going to try both. thanks, abraham and Raffi.

 additionally, could you guys help me consider such case? in my app, I
 need to fetch the tweets from about 400+ accounts to fullfill the
 table in the firstly launch( it's an iphone app actually).  how to
 avoid blacklisted by server for the suddenly flood of api call? the
 user_timeline should fit my requirements but I am still a little
 concern about the performance and server's reaction even if I cache
 server response.
 BR,
 Zhu


It is unlikely that you will get blacklisted. Just be mindful of the rate
limiting.

http://apiwiki.twitter.com/Rate-limiting


 On Dec 26, 6:53 am, Abraham Williams 4bra...@gmail.com wrote:
  You could also add the specified users to a list and use:
 
  http://apiwiki.twitter.com/Twitter-REST-API-Method:-GET-list-statuses
 
 
 
 
 
  On Fri, Dec 25, 2009 at 13:05, Raffi Krikorian ra...@twitter.com
 wrote:
   hi zhu.
 
   one way would be to create a twitter account that follows all those
 users,
   and then call
  
 http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-home_t...yourown
  user.
 
   alternatively, if you don't want to have a twitter account, then you
 can
   call
 
  http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-user_t.
 ..
 
   for each of the users you are interested in, and merge the results
   yourself.
 
   On Fri, Dec 25, 2009 at 12:23 AM, Zhu Wu wzx725...@gmail.com wrote:
 
   Hi group,
I am new here, so please forgive me if I made any mistake. now I am
   wondering if twitter provides anyway of fetching a timeline for a
   group of user I am interested in without logging in. I would like to
   call it a public group timeline I searched the official site of
   twitter api but no luck. can anyone shed a light for me? (an alternate
   way is also welcomed) :)
 
   TIA,
   Zhu
 
   --
   Raffi Krikorian
   Twitter Platform Team
  http://twitter.com/raffi
 
  --
  Abraham Williams | Awesome Lists |http://awesomeli.st
  Project | Intersect |http://intersect.labs.poseurtech.com
  Hacker |http://abrah.am|http://twitter.com/abraham
  This email is: [ ] shareable [x] ask first [ ] private.- Hide quoted text
 -
 
  - Show quoted text -




-- 
Abraham Williams | Awesome Lists | http://awesomeli.st
Project | Intersect | http://intersect.labs.poseurtech.com
Hacker | http://abrah.am | http://twitter.com/abraham
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Madison, WI, United States


Re: [twitter-dev] Re: any way to fetch a time for a group of users specified?

2009-12-27 Thread Abraham Williams
On Fri, Dec 25, 2009 at 18:48, Zhu Wu wzx725...@gmail.com wrote:

 one more question about :http://apiwiki.twitter.com/Twitter-REST-API-
 Method%3A-statuses-user_timeline

 there is a user_id param in it. can I use it like this:
 http://twitter.com/statuses/user_timeline.xml?user_id=1401881user_id=
 another
 first user id..user_id=400th user id? if can, that should be
 the best way for both client and server who just need to construct a
 long query.


No. You have to make a call for each user and merge them on your own side.

Alternatively you can use the Streaming API:
http://apiwiki.twitter.com/Streaming-API-Documentation#statuses/filter


 BR,
 Zhu

 On Dec 26, 3:05 am, Raffi Krikorian ra...@twitter.com wrote:
  hi zhu.
 
  one way would be to create a twitter account that follows all those
 users,
  and then callhttp://
 apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-home_t...
  your own user.
 
  alternatively, if you don't want to have a twitter account, then you can
  call
 
  http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-user_t...
 
  for each of the users you are interested in, and merge the results
 yourself.
 
  On Fri, Dec 25, 2009 at 12:23 AM, Zhu Wu wzx725...@gmail.com wrote:
   Hi group,
I am new here, so please forgive me if I made any mistake. now I am
   wondering if twitter provides anyway of fetching a timeline for a
   group of user I am interested in without logging in. I would like to
   call it a public group timeline I searched the official site of
   twitter api but no luck. can anyone shed a light for me? (an alternate
   way is also welcomed) :)
 
   TIA,
   Zhu
 
  --
  Raffi Krikorian
  Twitter Platform Teamhttp://twitter.com/raffi




-- 
Abraham Williams | Awesome Lists | http://awesomeli.st
Project | Intersect | http://intersect.labs.poseurtech.com
Hacker | http://abrah.am | http://twitter.com/abraham
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Madison, WI, United States


[twitter-dev] Re: any way to fetch a time for a group of users specified?

2009-12-25 Thread Zhu Wu
I am going to try both. thanks, abraham and Raffi.

additionally, could you guys help me consider such case? in my app, I
need to fetch the tweets from about 400+ accounts to fullfill the
table in the firstly launch( it's an iphone app actually).  how to
avoid blacklisted by server for the suddenly flood of api call? the
user_timeline should fit my requirements but I am still a little
concern about the performance and server's reaction even if I cache
server response.
BR,
Zhu

On Dec 26, 6:53 am, Abraham Williams 4bra...@gmail.com wrote:
 You could also add the specified users to a list and use:

 http://apiwiki.twitter.com/Twitter-REST-API-Method:-GET-list-statuses





 On Fri, Dec 25, 2009 at 13:05, Raffi Krikorian ra...@twitter.com wrote:
  hi zhu.

  one way would be to create a twitter account that follows all those users,
  and then call
 http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-home_t...your 
 own user.

  alternatively, if you don't want to have a twitter account, then you can
  call

 http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-user_t...

  for each of the users you are interested in, and merge the results
  yourself.

  On Fri, Dec 25, 2009 at 12:23 AM, Zhu Wu wzx725...@gmail.com wrote:

  Hi group,
   I am new here, so please forgive me if I made any mistake. now I am
  wondering if twitter provides anyway of fetching a timeline for a
  group of user I am interested in without logging in. I would like to
  call it a public group timeline I searched the official site of
  twitter api but no luck. can anyone shed a light for me? (an alternate
  way is also welcomed) :)

  TIA,
  Zhu

  --
  Raffi Krikorian
  Twitter Platform Team
 http://twitter.com/raffi

 --
 Abraham Williams | Awesome Lists |http://awesomeli.st
 Project | Intersect |http://intersect.labs.poseurtech.com
 Hacker |http://abrah.am|http://twitter.com/abraham
 This email is: [ ] shareable [x] ask first [ ] private.- Hide quoted text -

 - Show quoted text -


[twitter-dev] Re: any way to fetch a time for a group of users specified?

2009-12-25 Thread Zhu Wu
one more question about :http://apiwiki.twitter.com/Twitter-REST-API-
Method%3A-statuses-user_timeline

there is a user_id param in it. can I use it like this:
http://twitter.com/statuses/user_timeline.xml?user_id=1401881user_id=another
first user id..user_id=400th user id? if can, that should be
the best way for both client and server who just need to construct a
long query.

BR,
Zhu

On Dec 26, 3:05 am, Raffi Krikorian ra...@twitter.com wrote:
 hi zhu.

 one way would be to create a twitter account that follows all those users,
 and then 
 callhttp://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-home_t...
 your own user.

 alternatively, if you don't want to have a twitter account, then you can
 call

 http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-user_t...

 for each of the users you are interested in, and merge the results yourself.

 On Fri, Dec 25, 2009 at 12:23 AM, Zhu Wu wzx725...@gmail.com wrote:
  Hi group,
   I am new here, so please forgive me if I made any mistake. now I am
  wondering if twitter provides anyway of fetching a timeline for a
  group of user I am interested in without logging in. I would like to
  call it a public group timeline I searched the official site of
  twitter api but no luck. can anyone shed a light for me? (an alternate
  way is also welcomed) :)

  TIA,
  Zhu

 --
 Raffi Krikorian
 Twitter Platform Teamhttp://twitter.com/raffi