# TweetStream locations?

**URL:** <https://rubytalk.org/t/tweetstream-locations/61669>\
**Category:** ruby-talk\
**Created:** [1 February 2011 20:37 UTC](https://rubytalk.org/t/tweetstream-locations/61669 "2011-02-01T20:37:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Mcneill](https://avatars.discourse-cdn.com/v4/letter/r/5f9b8f/32.png) [@Ryan\_Mcneill](https://rubytalk.org/u/Ryan_Mcneill)\
**Post date:** [1 February 2011 20:37 UTC](https://rubytalk.org/t/tweetstream-locations/61669/1 "2011-02-01T20:37:37Z")

</div>

Hello,

As I understand it, TweetStream has support for searching by locations.  
However, I can't seem to get it to work. Anyone see something wrong?

Here's an example:

TweetStream::Client.new('twitterlogin',  
'twitterpw').sample.locations('-122.75,36.8,-121.75,37.8') do |status|  
&nbsp;&nbsp;puts "[#{status.user.screen\_name}] #{status.text}"  
end

Thanks in advance.

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
