[twitter-dev] location operator for the Search API

2011-01-23 Thread Yusuke Yamamoto
Hi,

What is location operator?

The doc for the search API addresses location operator in Operator Limits 
paragraph.

http://dev.twitter.com/doc/get/search
-
location operator:
• results are limited to 7 days
-

But the operator is not listed in the following page:
http://search.twitter.com/operators

Is the operator really existing?

Thanks in advance,
-- 
Yusuke Yamamoto
yus...@mac.com

this email is: [x] bloggable/tweetable [ ] private
follow me on : http://twitter.com/yusukeyamamoto
subscribe me at : http://samuraism.jp/

-- 
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


[twitter-dev] Re: replies to a particular tweet?

2011-01-23 Thread Jonathan Strauss
From 
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/cdc34ae78a2350b8:

GET /1/related_results/show/:id.{format}
Requires authentication.
If available, returns an array of replies and mentions related to the
specified Tweet. There is no guarantee there will be any replies or
mentions in the response. This method is only available to users who
have access to #newtwitter.
Example: twurl /1/related_results/show/12345678.json


On Jan 21, 6:49 pm, Rosie Svaskova rsvask...@googlemail.com wrote:
 Hello. Is there a way in the Twitter API to get the replies to a
 particular tweet?

 From what I understood, there isn't.

 Not in an easy pragmatic way. There is an feature request in for it:

 http://code.google.com/p/twitter-api/issues/detail?id=142

 There are a couple of third-party websites that provide APIs but they
 often miss statuses.

 Please correct me if I am wrong.

 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


[twitter-dev] Re: Is it possible to get in_replies for status id?

2011-01-23 Thread Jonathan Strauss
From 
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/cdc34ae78a2350b8:

GET /1/related_results/show/:id.{format}
Requires authentication.
If available, returns an array of replies and mentions related to the
specified Tweet. There is no guarantee there will be any replies or
mentions in the response. This method is only available to users who
have access to #newtwitter.
Example: twurl /1/related_results/show/12345678.json


On Jan 21, 5:31 pm, jparicka jpari...@gmail.com wrote:
 I am using twitter python

 http://python-twitter.googlecode.com/svn/trunk/twitter.py

 and it seems that one can get in_replies only for a specific user,
 using the api.GetReplies()

 I need to pull replies for a specific tweet, using it's status ID.

 Is this even possible?

 Thanks!

 Jan

-- 
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


[twitter-dev] Subscribing to the Site Streams API using OAuth

2011-01-23 Thread Michael Hoisie
Hi fellow Twitter devs,

I'm trying to connect to the Twitter site streams API with a Go client
( http://github.com/hoisie/twitterstream ). There's no usable oauth
client for Twitter in Go, so I have to write it from scratch.

There seems to be something wrong with my HTTP request -- I was
wondering if anyone knew off-hand if I'm doing something wrong.

This is the request my client is sending:

POST /2b/site.json HTTP/1.1
Host: betastream.twitter.com
User-Agent: httplib.go
Content-Length: 16
Authorization: OAuth oauth_token=15264398-
R38mT5QbA34LqsrYVEau6jwpJ1UUg5gy3lkEMDG4,
oauth_timestamp=1295800274, oauth_version=1.0,
oauth_signature=ycWqdQ8pZSrzQgjrEPwi3rL%2BHd8%3D,
oauth_consumer_key=UHgNkU4fUYz44KcluSKQg,
oauth_nonce=1j3XUAgciQvppwqAez5wa6hkExv3669wCFg1OMuL,
oauth_signature_method=HMAC-SHA1

follow=110504712

This is the base string for the signing:
POSThttps%3A%2F%2Fbetastream.twitter.com%2F2b
%2Fsite.jsonoauth_consumer_key%3DUHgNkU4fUYz44KcluSKQg%26oauth_nonce
%3D1j3XUAgciQvppwqAez5wa6hkExv3669wCFg1OMuL%26oauth_signature_method
%3DHMAC-SHA1%26oauth_timestamp%3D1295800274%26oauth_token%3D15264398-
R38mT5QbA34LqsrYVEau6jwpJ1UUg5gy3lkEMDG4%26oauth_version%3D1.0%26follow
%3D110504712

The user 110504712 has authorized the application via OAuth.

The consumer_token, consumer_token_secret, oauth_token, and
oauth_token_secret all come from my application on dev.twitter.com.

I'm confident the signing implementation is correct because I can get
Request and Access tokens. I believe there's something fundamentally
wrong with the base string or http request.

I'd really appreciate any help with this,
Mike

-- 
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


[twitter-dev] Wrong link in the API documentation for account/verify_credentials in XML

2011-01-23 Thread Silvio Guder
Its only a link for an example:
http://dev.twitter.com/doc/get/account/verify_credentials

In the example link for the XML is for JSON.
Now its:
http://dev.twitter.com/console?content_type=jsonpath=account/verify_credentials

Must be:
http://dev.twitter.com/console?content_type=xmlpath=account/verify_credentials

-- 
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