[twitter-dev] Search API Refresh Rate

2009-04-08 Thread peterhough

Hello!

I'm developing an application which needs to constantly request a
search API result. I'm pushing through a since_id to try to help
minimise the load on the servers. My question is, what is the optimum
time limit to loop the API requests? My application will need to act
upon the result of the search pretty much instantly.

I currently have the script requesting a search API result every 5
seconds. Will this hammer your servers too much?

Do you know the average time third party clients reload tweets? Are
there any guidelines for this? As this would have a factor in when my
applications actions are seen and so the need to request a search
result refresh

Thanks,
Pete


[twitter-dev] Re: Freelance Twitter API Dev directory?

2009-04-08 Thread peterhough

Alex,

If you could please add my details to the list of Twitter API
Developers:

Name: Peter Hough
Twitter: http://twitter.com/peterhough
Website: http://www.peterhough.co.uk
Email: http://scr.im/peterhough
Portfolio: http://twitrand.com

Many thanks,
Pete

On Feb 23, 7:33 pm, Alex Payne a...@twitter.com wrote:
 There isn't one that I'm aware of, but if people would like to post
 their contact info in this thread (Twitter username, URL, email,
 whatever) I'm happy to collect them on the API Wiki.

 On Sat, Feb 21, 2009 at 18:00, Chad Etzel jazzyc...@gmail.com wrote:

  Hi All,

  I have been getting a few requests here and there for twitter API
  development work.  I cannot take on any such projects at the moment,
  but I always feel bad for leaving them in the lurch.  Is there a list
  or directory anywhere of Twitter API developers that work freelance
  that I can send to them when this happens?  I'm happy to forward on
  such requests.

  -Chad

 --
 Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x


[twitter-dev] Re: Search API Refresh Rate

2009-04-08 Thread peterhough

Perfect, thanks Matt

On Apr 8, 5:27 pm, Matt Sanford m...@twitter.com wrote:
 Hi Pete,

      Every 5 seconds is well below the rate limit and seems like a  
 good rate for reasonably quick responses. It sounds like you're doing  
 the same query each time so that should be fine.

      For people doing requests based on many different queries I  
 recommend that they query less often for searches that have no results  
 than for those that do. By using a back-off you can keep up to date on  
 queries that are hot but not waste cycles requesting queries that very  
 rarely change. Check out the way we do it on search.twitter.com 
 athttp://search.twitter.com/javascripts/search/refresher.js

 Thanks;
    — Matt Sanford / @mzsanford

 On Apr 8, 2009, at 02:30 AM, peterhough wrote:



  Hello!

  I'm developing an application which needs to constantly request a
  search API result. I'm pushing through a since_id to try to help
  minimise the load on the servers. My question is, what is the optimum
  time limit to loop the API requests? My application will need to act
  upon the result of the search pretty much instantly.

  I currently have the script requesting a search API result every 5
  seconds. Will this hammer your servers too much?

  Do you know the average time third party clients reload tweets? Are
  there any guidelines for this? As this would have a factor in when my
  applications actions are seen and so the need to request a search
  result refresh

  Thanks,
  Pete


Friends / Followers without authentication?

2009-01-04 Thread peterhough

Hi,

Is is possible to retrieve a list of peoples friends and followers
without authenticating with Twitter?

I've discovered http://twitter.com/statuses/friends/{username}.xml
which seems to work but the equivalent 
http://twitter.com/statuses/followers/{username}.xml
requires authentication.

I can create a Twitter account and use those login details as the
authentication but it's limited to a maximum of 100 requests per hour,
which isn't any good for an application.

Any help appreciated

Pete



Re: Friends / Followers without authentication?

2009-01-04 Thread peterhough

How do they make requests while authenticated as their own account
without supplying a password? Am I missing something here... Oh they
put in their username and the request for the followers list is made
under my whitelisted account?

Think I get it now..

Thanks very much Alex

On Jan 4, 10:13 pm, Alex Payne a...@twitter.com wrote:
 All they need is a username. They make requests while authenticated as
 their own account.



 On Sun, Jan 4, 2009 at 14:05, peterhough em...@peterhough.co.uk wrote:

  You're limit requests to 100 per hour from IP addresses? In that case
  I will need my server's IP white listing and will fill out the form.
  Thanks!

  However, this still doesn't solve the problem of requiring
  authentication to list followers. Ideally I don't want people to have
  to enter their Twitter password into my webform. Mr Tweet and
  friendorfollow.com seem to be able to retrieve these without my
  Twitter account details. How?

  Regards,
  Pete

  On Jan 4, 9:42 pm, Alex Payne a...@twitter.com wrote:
  Whether authenticated or not, we limit the number of requests per hour
  to 100. We can whitelist your username and/or server's IP address(es),
  though. Please fill out this form to get the process 
  started:http://twitter.com/help/request_whitelisting.

  On Sun, Jan 4, 2009 at 06:01, peterhough em...@peterhough.co.uk wrote:

   Hi,

   Is is possible to retrieve a list of peoples friends and followers
   without authenticating with Twitter?

   I've discoveredhttp://twitter.com/statuses/friends/{username}.xml
   which seems to work but the 
   equivalenthttp://twitter.com/statuses/followers/{username}.xml
   requires authentication.

   I can create a Twitter account and use those login details as the
   authentication but it's limited to a maximum of 100 requests per hour,
   which isn't any good for an application.

   Any help appreciated

   Pete

  --
  Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x

 --
 Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x