Re: [twitter-dev] delay on search results

2011-02-16 Thread Lloyd
OK, so it make a huge difference if you add a since date in there.  Since I 
am archiving data in my app, I can poll more frequently and go back only a 
day or two.

http://search.twitter.com/search.json?q=+%23testing123123+since:2011-02-14

-- 
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] Problem with Streaming API location filter

2011-02-16 Thread Augusto Santos
Hi folks,

I'm having a huge decrease in my location filter at streaming api.
Apparently it's only retrieving tweets with Lat/Long and just a few of those
with place_name only.

Is there a change on the filter location policy?

This problem starts at 2011-02-16 01:00:00 UTC, here's my count sample
With/Without Lat/Long information:

month day hour WithoutLatLong WithLatLong   2 16 12 0 38  2 16 11 106 27890
2 16 10 104 25026  2 16 9 109 21680  2 16 8 129 21252  2 16 7 141 23906  2
16 6 85 23622  2 16 5 67 24928  2 16 4 76 26288  2 16 3 3498 29309  2 16 2
8413 28783  2 16 1 20145 30119  2 16 0 73797 29976  2 15 23 75647 24921  2
15 22 61369 18439  2 15 21 62640 19588  2 15 20 81359 28071  2 15 19 70744
27320  2 15 18 62021 26855  2 15 17 61765 31295  2 15 16 64631 32055  2 15
15 60821 35202  2 15 14 46371 34168  2 15 13 37315 33056  2 15 12 28220
31379  2 15 11 21489 27967  2 15 10 17298 24775  2 15 9 13815 23260  2 15 8
14880 23609  2 15 7 15560 25008
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


Re: [twitter-dev] is it possible to show my ReTweets on Website without to logging-in on www.twitter../authorize?

2011-02-16 Thread Taylor Singletary
Hi Ragims,

For this kind of integration you'll want to do something like the following:

1. Obtain your account's access token the easy way by using the My Access
Token referenced here: http://bit.ly/1token
(this allows you to skip the OAuth negotiation flow for your own
account)
2. Build a server-side integration that requests the retweets_by_me end
point using OAuth and the access token from step 1, and then cache/store the
result. It shouldn't make an API request to Twitter on every page load of
your site -- balance stale data with your posting frequency and you'll
probably find the right polling schedule.
3. Provide a UI to render the cached/stored results from Step 2.

Taylor

@episod http://twitter.com/episod - Taylor Singletary - Twitter Developer
Advocate


On Wed, Feb 16, 2011 at 4:04 AM, Ragims ragimovsrag...@googlemail.comwrote:

 i want to show my ReTweets on personal webpage. i have a lot of
 troubles with it. iam working with ASP.NET MVC, using 2 classes of
 OAuth Service. my question is: is it possible to show ReTweets on my
 webpage without that some user have to log him on https://
 api.twitter.com/oauth/authorize;?? i want just let everybody see my
 ReTweets (retweet_by_me i suppose is correct) without logging in each
 time. i thought that i will use my credentials in logic, but it doesnt
 work by me and i dont have any ideas anymore how does it work.

 --
 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 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: Streaming API vs. Search API: no API returns 95% of intented tweets

2011-02-16 Thread Karussell
Hi John,

Well, for a search term 'java' the async API is 'ok' and the
differences 'only in search' can be easily explained: the keywords are
in the URL.
But the differences 'only in async' (tweets grabbed only via streaming
API) are strange to me:

https://github.com/karussell/TestTwitterAPI/blob/master/discrepancy.txt

Why are they lost?

You can build the java mini programm via (or via your favourite IDE):
mvn clean install

and call it via:
./myjava -Dtwitter4j.oauth.consumerKey=key -
Dtwitter4j.oauth.consumerSecret=value de.jetwick.tw.NewClass java
token tokenSecret

to see what I mean ...

Another strange fact is that a lot of long tweets retrieved via the
streaming api have a text which is ~15 character shorter than the
identical tweet from the search API !

Regards,
Peter.

--

http://jetwick.com Twitter Search without Noise

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


Re: [twitter-dev] Problem with Streaming API location filter

2011-02-16 Thread 1537 News
I am seeing the same thing
My searches have dropped to ZERO as of
2011-02-15 22:56:34

I have a relatively small location boundary box
but have been averaging 1200 a day

Harry Osoff
Publisher
1537News




On Wed, Feb 16, 2011 at 6:40 AM, Augusto Santos augu...@gemeos.org wrote:

 Hi folks,

 I'm having a huge decrease in my location filter at streaming api.
 Apparently it's only retrieving tweets with Lat/Long and just a few of those
 with place_name only.

 Is there a change on the filter location policy?

 This problem starts at 2011-02-16 01:00:00 UTC, here's my count sample
 With/Without Lat/Long information:

 month day hour WithoutLatLong WithLatLong   2 16 12 0 38  2 16 11 106
 27890  2 16 10 104 25026  2 16 9 109 21680  2 16 8 129 21252  2 16 7 141
 23906  2 16 6 85 23622  2 16 5 67 24928  2 16 4 76 26288  2 16 3 3498
 29309  2 16 2 8413 28783  2 16 1 20145 30119  2 16 0 73797 29976  2 15 23
 75647 24921  2 15 22 61369 18439  2 15 21 62640 19588  2 15 20 81359 28071
 2 15 19 70744 27320  2 15 18 62021 26855  2 15 17 61765 31295  2 15 16
 64631 32055  2 15 15 60821 35202  2 15 14 46371 34168  2 15 13 37315 33056
 2 15 12 28220 31379  2 15 11 21489 27967  2 15 10 17298 24775  2 15 9
 13815 23260  2 15 8 14880 23609  2 15 7 15560 25008
 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




-- 
http://1537news.com/
Follow Us on Twitter http://twitter.com/1537news/
Facebook Fan 
Pagehttp://www.facebook.com/profile.php?id=10680443959#%21/pages/1537News/143582755669105?v=wall

-- 
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: App title and url do not get updated (twitter website bug)

2011-02-16 Thread AmericanSheldon
I am experiencing the exact same issue with my application FourTunes!
Would love for this to be resolved soon so my branding can be
consistent.  Here is my app and it is used through an iPhone app.

http://dev.twitter.com/apps/648397

Thanks,
American Sheldon
On Feb 14, 4:43 am, guysoft guys...@gmail.com wrote:
 Hi all,
 A few days ago I updated my apps url and title, however both don't
 show up in the user statues posted after the update.

 Here is an example tweet posted via 'python api' (the old name, that
 keeps not getting 
 updated):http://twitter.com/#!/guysoft/status/37077323643617280

 Here is the app page (that shows as updated, new name is SMS Gate-
 IL):http://dev.twitter.com/apps/621723

 This is clearly a bug in the twitter website, but I can't seem to find
 a way to reach the website developers, or jog twitter to start using
 the updated title and url.

 Thanks,
 Guy

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


Re: [twitter-dev] Application users list

2011-02-16 Thread Matt Harris
Hi Leon,

We don't expose that information through the API or on twitter.com so
keeping a record yourself is the best approach.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Wed, Feb 16, 2011 at 3:06 AM, Leon Meijer l...@lmeijer.nl wrote:

  Hello all,

 Is there a way to be able to get a list of users who are connected /
 using your Twitter application? (of cource you can keep OAuth tokens and
 usernames to get a list but I mean via the API or website).

 Regards,

 Leon

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


Re: [twitter-dev] Twitter app on facebook bug

2011-02-16 Thread Matt Harris
The Twitter App for Facebook isn't something the platform team maintains so
we're not able to help diagnose the problem. Instead you should contact our
user support team so they can help you out. You can reach them through this
URL:
 http://bit.ly/gottaproblem

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Tue, Feb 15, 2011 at 3:40 AM, werdan werda...@gmail.com wrote:

 I seem to have a strange bug with a twitter app on facebook, but as I
 think that it might be my implementation mistake somewhere I would
 like to ask you about this.

 I have a web site where I have installed a plug in enabling me to send
 post to Twitter. This works fine. I also have a facebook app which
 extracts all the tweets and updates the status of my fan page.

 Unfortunately, it stopped working recently and I just wonder whether
 it is because of the prefix that wordpress plug in puts? I am using
 Twitter Tools plug in to post blog posts to Twitter and it adds a
 standard prefix at the beginning of the tweet.

 The reason why I think that the problem might be in the prefix is that
 after a normal tweet without the prefix, the next one from the web
 site gets sent to facebook fine with the prefix, but all the other
 tweets that go after it don't. Until I take a break with another
 tweet without the prefix.

 Is there a way to solve this?

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


Re: [twitter-dev] Twitter Stream API connection timed out error

2011-02-16 Thread Matt Harris
Hi Zhe Chen,

It is possible for the streaming connection to restart or disconnect you.
There are a few reasons why this can happen and all are explained in our
Streaming API concepts document. Approaches on how to deal with disconnects
are also explained in the document.

You can find the concepts document here:
http://dev.twitter.com/pages/streaming_api_concepts

with the specific information about connecting here:
http://dev.twitter.com/pages/streaming_api_concepts#connecting

Let us know if you have any questions,

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Tue, Feb 15, 2011 at 10:25 AM, Zhe Chen chenzhe@gmail.com wrote:

 I will get an error says connection timed out after running my program
 for many hours.

 What should I do to avoid this?

 my $listener = AnyEvent::Twitter::Stream-new(
consumer_key= $consumer_key,
consumer_secret = $consumer_secret,
token   = $token,
token_secret= $token_secret,
method  = filter,
track   = $searchTerm,

on_connect = sub {
warn bgStreamSearch.pl connected;
},

on_tweet = sub {
my $tweet = shift;
writeTweet($tweet);
 },

on_error = sub {
my $error = shift;
warn ERROR: $error;
$done-send;
},
  );
 $done-recv;

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


Re: [twitter-dev] Idea - Categories

2011-02-16 Thread Matt Harris
Hi,

Maybe Twitter Lists could help you achieve this:
http://support.twitter.com/entries/76460-how-to-use-twitter-lists

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Wed, Feb 16, 2011 at 5:52 AM, EazySPR98 chall...@gmail.com wrote:

 It would be a good idea for ppl to be able to put followers in
 categories and have the option to follow that category.

 --
 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 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: Problem with Streaming API location filter

2011-02-16 Thread Andrey
Same here. Output of my location filter decreased by about 50%.

On Feb 16, 4:40 am, Augusto Santos augu...@gemeos.org wrote:
 Hi folks,

 I'm having a huge decrease in my location filter at streaming api.
 Apparently it's only retrieving tweets with Lat/Long and just a few of those
 with place_name only.

 Is there a change on the filter location policy?

 This problem starts at 2011-02-16 01:00:00 UTC, here's my count sample
 With/Without Lat/Long information:

 month day hour WithoutLatLong WithLatLong   2 16 12 0 38  2 16 11 106 27890
 2 16 10 104 25026  2 16 9 109 21680  2 16 8 129 21252  2 16 7 141 23906  2
 16 6 85 23622  2 16 5 67 24928  2 16 4 76 26288  2 16 3 3498 29309  2 16 2
 8413 28783  2 16 1 20145 30119  2 16 0 73797 29976  2 15 23 75647 24921  2
 15 22 61369 18439  2 15 21 62640 19588  2 15 20 81359 28071  2 15 19 70744
 27320  2 15 18 62021 26855  2 15 17 61765 31295  2 15 16 64631 32055  2 15
 15 60821 35202  2 15 14 46371 34168  2 15 13 37315 33056  2 15 12 28220
 31379  2 15 11 21489 27967  2 15 10 17298 24775  2 15 9 13815 23260  2 15 8
 14880 23609  2 15 7 15560 25008
 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: Problem with Streaming API location filter

2011-02-16 Thread Andrey
same here

On Feb 16, 4:40 am, Augusto Santos augu...@gemeos.org wrote:
 Hi folks,

 I'm having a huge decrease in my location filter at streaming api.
 Apparently it's only retrieving tweets with Lat/Long and just a few of those
 with place_name only.

 Is there a change on the filter location policy?

 This problem starts at 2011-02-16 01:00:00 UTC, here's my count sample
 With/Without Lat/Long information:

 month day hour WithoutLatLong WithLatLong   2 16 12 0 38  2 16 11 106 27890
 2 16 10 104 25026  2 16 9 109 21680  2 16 8 129 21252  2 16 7 141 23906  2
 16 6 85 23622  2 16 5 67 24928  2 16 4 76 26288  2 16 3 3498 29309  2 16 2
 8413 28783  2 16 1 20145 30119  2 16 0 73797 29976  2 15 23 75647 24921  2
 15 22 61369 18439  2 15 21 62640 19588  2 15 20 81359 28071  2 15 19 70744
 27320  2 15 18 62021 26855  2 15 17 61765 31295  2 15 16 64631 32055  2 15
 15 60821 35202  2 15 14 46371 34168  2 15 13 37315 33056  2 15 12 28220
 31379  2 15 11 21489 27967  2 15 10 17298 24775  2 15 9 13815 23260  2 15 8
 14880 23609  2 15 7 15560 25008
 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


Re: [twitter-dev] Get Friend Count

2011-02-16 Thread Matt Harris
This information is returned in the users profile information and can be
access from the API something like:

/1/users/show -- http://dev.twitter.com/doc/get/users/show
/1/users/lookup -- http://dev.twitter.com/doc/get/users/lookup

You could also request a users friends IDs using
/1/friends/ids -- http://dev.twitter.com/doc/get/friends/ids

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Wed, Feb 16, 2011 at 11:21 AM, HJ hjenner...@gmail.com wrote:

 I'm trying to get the number of friends for a user, but there doesn't
 seem to be a getFriendCount method in the API. Is something similar to

 http://weblogs.asp.net/wallym/archive/2009/03/20/twitter-api-get-a-list-of-your-friends-in-c.aspx
 - looping through all and counting the only way of doing this?

 --
 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 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] Getting Started

2011-02-16 Thread Dan
Hello,

I am just getting started developing some proofs-of-concept for my
company. One major snag is that I am of course behind a firewall. The
OAuth API expects a URL that is available to twitter.com. I can't
really do much more unless I start opening some ports (frowned upon).
What solutions have other developers in the same position used?

I also would like to avoid any user interaction with twitter (should
be completely opaque). From reading the documentation it would appear
that the XAuth is better suited to my use case. What experience have
people had with this?

Thanks for your time...

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


Re: [twitter-dev] Getting Started

2011-02-16 Thread Taylor Singletary
Hi Dan,

Twitter actually doesn't need to be able to access your callback URL -- the
web browser executing the callback does though.

On your application record, just use a placeholder for the callback URL
field (like your business's public-facing web site). On the request token
step of OAuth, dynamically supply an oauth_callback pointing to the URL
behind your firewall. Once the user authorizes, they'll be redirected to
your URL as long as it's accessible for them.

Thanks,
Taylor

@episod http://twitter.com/episod - Taylor Singletary - Twitter Developer
Advocate


On Wed, Feb 16, 2011 at 1:34 PM, Dan dro...@gmail.com wrote:

 Hello,

 I am just getting started developing some proofs-of-concept for my
 company. One major snag is that I am of course behind a firewall. The
 OAuth API expects a URL that is available to twitter.com. I can't
 really do much more unless I start opening some ports (frowned upon).
 What solutions have other developers in the same position used?

 I also would like to avoid any user interaction with twitter (should
 be completely opaque). From reading the documentation it would appear
 that the XAuth is better suited to my use case. What experience have
 people had with this?

 Thanks for your time...

 --
 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 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] Streaming Api returning tweets with NULL value for object place

2011-02-16 Thread aci
Hello,

I am using the streaming api in order to be able to save tweets that
uses the geoJSON place key of the returned json object. Tt was working
fine last Tuesday, Feb 15, But now, there seems to be a problem with
the place tag of the tweet object.

I was just wondering if it's just me or is there some sort of bug or
changes have been made in the API?


Aci Cartagena

-- 
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] delimited=length and newlines?

2011-02-16 Thread WushuJames
Hi,

In http://dev.twitter.com/pages/streaming_api_methods#delimited, it says:
Statuses are represented by a length, in bytes, a newline, and the status 
text that is exactly length bytes. Note that “keep-alive” newlines may be 
inserted before each length.

I was thinking newline meant \n. But upon inspecting the stream, it looks 
like lines end with \r\n, which I would call carriage return newline. Is my 
terminology wrong, or do the docs need to be more precise?

Also, the newlines may be inserted before each length part. Does that mean 
a stream of messages would be

length\r\nstatus-text (first message)

\r\nlength\r\nstatus-text (second message)

Or is it:
length\r\nstatus-text\r\n (first message)

length\r\nstatus-text\r\n (second message)

Thanks!
-James


-- 
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] User Streams and delimited=length

2011-02-16 Thread WushuJames
Hi,

I'm playing around with User Streams. I was able to connect to 
https://userstream.twitter.com/2/user.json authenticated via OAuth and can 
see data coming in. 

I'm having trouble getting delimited=length working with User Streams. Or 
rather, I'm not sure if I'm using it correctly. I'm doing a POST and passing 
delimited=length in the body of my post.

Here's what I see when I connect:
1) First, a list of friends as documented at 
http://dev.twitter.com/pages/user_streams, followed by \r\n
Example:
{friends:[1497,169686021,790205,15211564,37784836,821958,14884312,92015003,822571,63846421...]}\r\n

2) Next, an empty line containing \r\n

3) the messages. The messages are JSON, and the line ends in \r\n. For 
example, I see: 
{ ...somejson... }\r\n
{ ...somejson... }\r\n
{ ...somejson... }\r\n

Is delimited=length supposed to work with user streams? Am I passing in the 
parameter correctly? (as POST variables in the body) Should I be passing 
delimited=length as GET variables in the URL? That didn't seem to work 
either, my request got rejected with a 401 HTTP error.

Thanks,
-James

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