[twitter-dev] Re: Problems with filtered Streaming API and Location

2010-06-24 Thread metafedora
I downloaded the Twitter iPhone app (v. 3.0.1c) and when I use it my
geocoded tweets are showing up in the location-filtered stream.  So,
seems there is Twitterrific-specific issue with location - I will pull
and compare tweets from both apps and compare them to see if I can
figure out whats wrong.

Still not sure why explicitly specifying a "Place" when tweeting on
the twitter website, that place isn't coming through but instead a
generic "Neighbourhood" or "City" is specified.  I guess this Place
stuff is relatively new and still has some quirks to work out.



On Jun 23, 8:50 pm, metafedora  wrote:
> The api request I am making looks like this
>
> POST /1/statuses/filter.json HTTP/1.1
> Authorization: Basic bVW0YWIZIG8yYTp3d3F0eGVz
> X-Twitter-Client-URL:http://twitter4j.org/en/twitter4j-2.1.3-SNAPSHOT(build:
> e8b3d79cea14c4f8cb20101726d92169b905da0e).xml
> X-Twitter-Client: Twitter4J
> Accept-Encoding: gzip
> User-Agent: twitter4j
> X-Twitter-Client-Version: 2.1.3
> Connection: close
> Content-Type: application/x-www-form-urlencoded
> Content-Length: 49
> Host: stream.twitter.com
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
>
> count=0&locations=-97.42%2C32.56%2C-96.57%2C33.21
>
> This should return a sample of all geocoded tweets within the
> geographic area, defined by the bounding box (it surrounds the Dallas-
> Ft. Worth area where I live).
> Using Safari, I log into Twitter with my test user: GiscJTest1 - it
> asks to use location, to which I answer OK.
> I select a location (such as the coffeeshop down the street from me)
> from the list and post a tweet.
> I see the tweet in my api output, but instead of the location I
> selected, it just says "East Dallas, TX". Also, there is no lat-long.
> Then I try it with Twiterrific on my iPhone - again using GiscJTest1 -
> and with Location enabled.  I *never* see these tweets in the stream
> output.  I've tried many times, but the iPhone tweets do not show up
> in the stream.
>
> Can anyone explain this behavior?


[twitter-dev] Problems with filtered Streaming API and Location

2010-06-23 Thread metafedora
The api request I am making looks like this

POST /1/statuses/filter.json HTTP/1.1
Authorization: Basic bVW0YWIZIG8yYTp3d3F0eGVz
X-Twitter-Client-URL: http://twitter4j.org/en/twitter4j-2.1.3-SNAPSHOT(build:
e8b3d79cea14c4f8cb20101726d92169b905da0e).xml
X-Twitter-Client: Twitter4J
Accept-Encoding: gzip
User-Agent: twitter4j
X-Twitter-Client-Version: 2.1.3
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 49
Host: stream.twitter.com
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2

count=0&locations=-97.42%2C32.56%2C-96.57%2C33.21


This should return a sample of all geocoded tweets within the
geographic area, defined by the bounding box (it surrounds the Dallas-
Ft. Worth area where I live).
Using Safari, I log into Twitter with my test user: GiscJTest1 - it
asks to use location, to which I answer OK.
I select a location (such as the coffeeshop down the street from me)
from the list and post a tweet.
I see the tweet in my api output, but instead of the location I
selected, it just says "East Dallas, TX". Also, there is no lat-long.
Then I try it with Twiterrific on my iPhone - again using GiscJTest1 -
and with Location enabled.  I *never* see these tweets in the stream
output.  I've tried many times, but the iPhone tweets do not show up
in the stream.

Can anyone explain this behavior?