Re: [twitter-dev] Authenticate to retrieve a tweet?

2010-09-01 Thread Matt Harris
Hi,

Do you know if you share your connection with anybody else?
We allow 150 unauthenticated requests to the API per hour, so anybody
else who makes requests on that IP without authentication will use
some of those requests up. This includes applications you might be
running on your computer which are making unauthenticated requests.

The alternative is to make authenticated requests to ensure that
unauthenticated limit doesn't affect you. You can do this using the
single token method described on our developer resources site:
http://dev.twitter.com/pages/oauth_single_token

Hope that helps,
Matt

On Tue, Aug 31, 2010 at 6:00 PM, bretth brett...@gmail.com wrote:
 Hi,

 I hope someone can clarify a few things for me please

 I need to retrieve individual tweets via some sort of backend api/rss/
 xml -ish web service for a website that I'm building. I can do the
 searching for hashtags/keywords etc fine; but I'm having trouble
 getting the contents of individual tweets when I have the url/id for
 the tweet.

 To elaborate;

 I have a URL like this:

 http://twitter.com/USERNAME/status/123456789

 and I know I can then hit

 http://api.twitter.com/1/statuses/show/123456789.xml

 to get that tweet and user detail in xml format.

 However I'm finding that after a few tries I start to get
 authentication issues; it seems to be some kind of rate limiting,
 because eventually I can get it again.

 Now while I certainly won't be overwhelming twitter with requests or
 anything, I do need the ability to make more than a few requests per
 hour.

 So what's the best way to achieve this?

 Do I have to authenticate with oAuth or something? Can you clarify
 this? Because everything I've ready about oAuth suggests that it
 requires some sort of user intervention as well to complete the
 process. I don't want this. I have my twitter app (with ID and Secret)
 and I want to be able to use that to authenticate and query Twitter as
 much as possible.

 Is there an example of this that I can look at?

 Thanks!!!

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk?hl=en




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Authenticate to retrieve a tweet?

2010-08-31 Thread bretth
Hi,

I hope someone can clarify a few things for me please

I need to retrieve individual tweets via some sort of backend api/rss/
xml -ish web service for a website that I'm building. I can do the
searching for hashtags/keywords etc fine; but I'm having trouble
getting the contents of individual tweets when I have the url/id for
the tweet.

To elaborate;

I have a URL like this:

http://twitter.com/USERNAME/status/123456789

and I know I can then hit

http://api.twitter.com/1/statuses/show/123456789.xml

to get that tweet and user detail in xml format.

However I'm finding that after a few tries I start to get
authentication issues; it seems to be some kind of rate limiting,
because eventually I can get it again.

Now while I certainly won't be overwhelming twitter with requests or
anything, I do need the ability to make more than a few requests per
hour.

So what's the best way to achieve this?

Do I have to authenticate with oAuth or something? Can you clarify
this? Because everything I've ready about oAuth suggests that it
requires some sort of user intervention as well to complete the
process. I don't want this. I have my twitter app (with ID and Secret)
and I want to be able to use that to authenticate and query Twitter as
much as possible.

Is there an example of this that I can look at?

Thanks!!!

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en