[twitter-dev] Re: API Curl: Status update result: http_code =0!
So as I said when I test my script localy on my win32 it works fine I get this: Array ( [url] = http://twitter.com/statuses/update.xml?status=It%27s+made+of+a+module+and+a+profile+application [content_type] = application/xml; charset=utf-8 [http_code] = 200 [header_size] = 890 [request_size] = 246 [filetime] = -1 [ssl_verify_result] = 0 [redirect_count] = 0 [total_time] = 0.885 [namelookup_time] = 0.076 [connect_time] = 0.278 [pretransfer_time] = 0.278 [size_upload] = 0 [size_download] = 1805 [speed_download] = 2039 [speed_upload] = 0 [download_content_length] = 1805 [upload_content_length] = -1 [starttransfer_time] = 0.884 [redirect_time] = 0 ) ?xml version=1.0 encoding=UTF-8? status created_atTue Jul 14 12:06:20 + 2009/created_at id2631102072/id textIt's made of a module and a profile application/text sourcelt;a href=http://apiwiki.twitter.com/gt;APIlt;/agt;/ source truncatedfalse/truncated in_reply_to_status_id /in_reply_to_status_id in_reply_to_user_id /in_reply_to_user_id favoritedfalse/favorited in_reply_to_screen_name /in_reply_to_screen_name user id35691583/id namenordmograph/name screen_namenordmograph/screen_name locationTokyo/location description /description profile_image_urlhttp://s3.amazonaws.com/twitter_production/ profile_images/303127750/avatar_normal.png/profile_image_url urlhttp://nordmograph.com/url protectedfalse/protected followers_count47/followers_count profile_background_colorFF/profile_background_color profile_text_color33/profile_text_color profile_link_color0ba6de/profile_link_color profile_sidebar_fill_colorcc/profile_sidebar_fill_color profile_sidebar_border_colorcc/ profile_sidebar_border_color friends_count35/friends_count created_atMon Apr 27 06:56:40 + 2009/created_at favourites_count0/favourites_count utc_offset-10800/utc_offset time_zoneGreenland/time_zone profile_background_image_urlhttp://s3.amazonaws.com/ twitter_production/profile_background_images/22071817/ twitterbg_nordmograph.jpg/profile_background_image_url profile_background_tilefalse/profile_background_tile statuses_count34/statuses_count notificationsfalse/notifications verifiedfalse/verified followingfalse/following /user /status but no password to hide, I'm not sure I get what you mean, how can I give you mor infos?
[twitter-dev] Re: change my image ; old profile_image_url seen in response to users/show
Thanks Doug, this is great to hear. +Clint On Mon, Jul 13, 2009 at 5:12 PM, Doug Williams d...@twitter.com wrote: This seems like a caching invalidation bug. We will be discussing it at tomorrow's team meeting and I am hopeful the fix will be coming shortly. Thanks, Doug
[twitter-dev] Adding a Company Logo on Twitters Background
Hi There! I am part of a Web Design Development company called Cknet Internet Services based in South Africa, Johannesburg. (Our web address is www.cknet.co.za) One of our clients would like to add there Company Logo on the background of Twitter instead of just having the standard backgrounds which Twitter provides for us. Is this possible, if so how can this be done? Or do we need a specific designer from Twitter itself? Best Regards Yvette
[twitter-dev] Retrieve the message associated with a specific direct message id?
How can I retrieve a single direct message given its id? Can I use the status API or is this totally different? http://twitter.com/statuses/show/id.format Thanks B-
[twitter-dev] Re: Adding a Company Logo on Twitters Background
You can change your background image in your profile settings page: http://twitter.com/account/profile_settings On Tue, Jul 14, 2009 at 01:05, Yvette Manilall yvettemanil...@gmail.comwrote: Hi There! I am part of a Web Design Development company called Cknet Internet Services based in South Africa, Johannesburg. (Our web address is www.cknet.co.za) One of our clients would like to add there Company Logo on the background of Twitter instead of just having the standard backgrounds which Twitter provides for us. Is this possible, if so how can this be done? Or do we need a specific designer from Twitter itself? Best Regards Yvette -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham Project | http://fireeagle.labs.poseurtech.com This email is: [ ] blogable [x] ask first [ ] private.
[twitter-dev] Re: Intermittent network failures?
I'm monitoring the Twitter API response time and errors rate (using MRTG, with a couple of different methods). If some of you are interested, I can share these charts on a public page. I guess it could help you guys to figure out why your apps are sometimes working weirdly. Could also help you to determine at what time the Twitter API is the less loaded (if you can delay your requests). 2009/7/13 BlueSkies scarter28m-goo...@yahoo.com I also run on AWS/EC2 and have been seeing the problem where curl returns a status of 0 for many months (as long as I have been tracking it). It usually happens several times per day. Last Friday there was a spike of 51 occurrences. - Scott On Jul 12, 6:51 pm, Jeffrey Greenberg jeffreygreenb...@gmail.com wrote: I spoke too casually. For the sake of accuracy: I too do not see this as a new problem: it's been going on for months, not just weeks or just recently... On Jul 10, 1:17 pm, Dossy Shiobara do...@panoptic.com wrote: On 7/10/09 3:38 PM, Jeffrey Greenberg wrote: Just to say it, this has been going on for weeks Actually, months ... at least as far as I've noticed it. -- Arnaud Meunier Twitoaster | http://twitoaster.com
[twitter-dev] Re: Streaming API -- Additional markup added -- Deletion notifications on track streams.
Yes, the two are related. Good sleuthing. On Jul 13, 10:08 pm, Damon Clinkscales sca...@pobox.com wrote: On Mon, Jul 13, 2009 at 9:53 PM, John Kaluckijkalu...@gmail.com wrote: Deletions will be enabled on or after Thursday July 16th, as previously scheduled. From the wiki, http://apiwiki.twitter.com/Streaming-API-Documentation: Streams may also contain status deletion notices. Clients are urged to honor deletion requests and discard deleted statuses immediately. * XML: deletestatusid1234/iduser_id3/user_id/ status/delete * JSON: { delete: { status: { id: 1234, user_id: 3 } } } I don't know if this is related to the Streaming API directly or not, but I am curious when deletions are going to be reflected in the Search Index. At the WWDC meeting, I believe that Matt said that was coming. I just wonder if that time has come after July 16th or if that will be sometime later. Thanks, -damon --http://twitter.com/damon
[twitter-dev] How to track a phrase in Streaming API?
How do I track a phrase like harry potter? The docs only show how to track individual words, not phrases ... and this curl command doesn't work properly because it finds tweets with harry and not potter: curl -o /home/ken/twitterStreamJSON.txt http://stream.twitter.com/track.json -u username:password -d track=harry potter, Owkaye
[twitter-dev] Re: How to track a phrase in Streaming API?
Hello, I think the problem is missing quotes and URL encoding. Try curl … -d track=harry+potter Thanks; – Matt Sanford / @mzsanford Twitter Dev On Jul 14, 2009, at 7:29 AM, owkaye wrote: How do I track a phrase like harry potter? The docs only show how to track individual words, not phrases ... and this curl command doesn't work properly because it finds tweets with harry and not potter: curl -o /home/ken/twitterStreamJSON.txt http://stream.twitter.com/track.json -u username:password -d track=harry potter, Owkaye
[twitter-dev] New app: twivert.com
I have just finished creating a new app URL: http://www.twivert.com It is a ad network for twitter.com. I have used the twitter API for python I have used blueprint css for style , jquery for javascript. If anyone is interested please visit the site and post your comments...
[twitter-dev] Re: How to track a phrase in Streaming API?
How do I track a phrase like harry potter? The docs only show how to track individual words, not phrases ... and this curl command doesn't work properly because it finds tweets with harry and not potter: curl -o /home/ken/twitterStreamJSON.txt http://stream.twitter.com/track.json -u username:password -d track=harry potter, I think the problem is missing quotes and URL encoding. Try curl … -d track=harry+potter Thanks for the suggestion Matt but that doesn't work either. Any other ideas? Owkaye
[twitter-dev] Re: How to track a phrase in Streaming API?
Follow the example on the Streaming API wiki. If you insist on doing this entirely on the command line, which will not work for more than a handful of predicates, you can do: curl localhost:8080/track.xml\? track=Harry,Potter Currently track works only on keywords, not phrases. You can search for Harry OR Potter, but not Harry AND Potter. It's probably best to track on the lowest frequency word in the phrase, to avoid the rate limit. -John Kalucki twitter.com/jkalucki Services, Twitter Inc. On Jul 14, 8:26 am, owkaye owk...@gmail.com wrote: How do I track a phrase like harry potter? The docs only show how to track individual words, not phrases ... and this curl command doesn't work properly because it finds tweets with harry and not potter: curl -o /home/ken/twitterStreamJSON.txt http://stream.twitter.com/track.json-u username:password -d track=harry potter, I think the problem is missing quotes and URL encoding. Try curl … -d track=harry+potter Thanks for the suggestion Matt but that doesn't work either. Any other ideas? Owkaye
[twitter-dev] Re: New app: twivert.com
On Tue, Jul 14, 2009 at 11:02 AM, Vignesh vignesh.isqu...@gmail.com wrote: I have just finished creating a new app URL: http://www.twivert.com It is a ad network for twitter.com. I have used the twitter API for python I have used blueprint css for style , jquery for javascript. If anyone is interested please visit the site and post your comments... When did this dev list become a self-promotion list? Can we knock this garbage off already? I get enough spam ON Twitter these days, I don't need it coming into my inbox via the dev list. Thanks- - Andy Badera - and...@badera.us - Google me: http://www.google.com/search?q=andrew+badera - This email is: [ ] bloggable [x] ask first [ ] private
[twitter-dev] Re: New app: twivert.com
On Tue, Jul 14, 2009 at 12:16 PM, Andrew Baderaand...@badera.us wrote: When did this dev list become a self-promotion list? Can we knock this garbage off already? I get enough spam ON Twitter these days, I don't need it coming into my inbox via the dev list. I thought one of the purposes of the list was to promote/announce your new apps when they go live so that other devs are aware of new stuff coming out. Whether you like the app or not is up to you... -Chad
[twitter-dev] Re: New app: twivert.com
Chad +1 On Tue, Jul 14, 2009 at 10:49 PM, Chad Etzeljazzyc...@gmail.com wrote: On Tue, Jul 14, 2009 at 12:16 PM, Andrew Baderaand...@badera.us wrote: When did this dev list become a self-promotion list? Can we knock this garbage off already? I get enough spam ON Twitter these days, I don't need it coming into my inbox via the dev list. I thought one of the purposes of the list was to promote/announce your new apps when they go live so that other devs are aware of new stuff coming out. Whether you like the app or not is up to you... -Chad
[twitter-dev] Re: New app: twivert.com
On Tue, Jul 14, 2009 at 1:19 PM, Chad Etzel jazzyc...@gmail.com wrote: On Tue, Jul 14, 2009 at 12:16 PM, Andrew Baderaand...@badera.us wrote: When did this dev list become a self-promotion list? Can we knock this garbage off already? I get enough spam ON Twitter these days, I don't need it coming into my inbox via the dev list. I thought one of the purposes of the list was to promote/announce your new apps when they go live so that other devs are aware of new stuff coming out. Whether you like the app or not is up to you... -Chad I'm pretty sure it's been stated in the past that this is not the place to advertise your apps. Maybe I'm recalling incorrectly. This is a tech list, not an advertisement list. It's noisy enough as it is. If people want to announce their apps, they should do it elsewhere.
[twitter-dev] Re: New app: twivert.com
On Tue, Jul 14, 2009 at 2:12 PM, Andrew Baderaand...@badera.us wrote: I'm pretty sure it's been stated in the past that this is not the place to advertise your apps. Maybe I'm recalling incorrectly. I don't remember that at all... if you can find it in the archives then I'll shut up about it. I personally like seeing new app announcements here b/c it means one less place I have to monitor, and I like seeing what new/innovative things are being built. It's also a good way to hear about potential competition or see that someone has done an idea that you might have had, but now don't have to waste your time building it. I think this is a very appropriate place for those emails. Devs work hard to build stuff; we should be able to tell other devs about our work when it's ready :) You can create a filter to auto-delete new app emails if you hate them that much. Anyone else feel strongly one way or the other? -Chad
[twitter-dev] Re: New app: twivert.com
On Tue, Jul 14, 2009 at 2:23 PM, Chad Etzel jazzyc...@gmail.com wrote: On Tue, Jul 14, 2009 at 2:12 PM, Andrew Baderaand...@badera.us wrote: I'm pretty sure it's been stated in the past that this is not the place to advertise your apps. Maybe I'm recalling incorrectly. I don't remember that at all... if you can find it in the archives then I'll shut up about it. I personally like seeing new app announcements here b/c it means one less place I have to monitor, and I like seeing what new/innovative things are being built. It's also a good way to hear about potential competition or see that someone has done an idea that you might have had, but now don't have to waste your time building it. I think this is a very appropriate place for those emails. Devs work hard to build stuff; we should be able to tell other devs about our work when it's ready :) You can create a filter to auto-delete new app emails if you hate them that much. Anyone else feel strongly one way or the other? -Chad Most reasonably professional lists have a policy of no self promotion unless you're tactfully answering someone else's question. Let's have a simple, separate app announcement list if you really need to be emailed about that, but let's keep the dev list on-topic and on-task. Some of us are here for the tech, not for the shiny stuff.
[twitter-dev] Re: New app: twivert.com
The thread I recall about not announcing your apps here was more of a don't announce your app here if you want to keep it private / low key. If I recall correctly the specific developer(s) was unhappy that someone had blogged about a particular app that wasn't full and ready but had been mentioned here. I think new app announcements are fine, especially in this case, it was done in a non-spammy manner. Most reasonably professional lists have a policy of no self promotion... please cite 3 examples. +Clint
[twitter-dev] Re: New app: twivert.com
On Tue, Jul 14, 2009 at 2:31 PM, Clint Shryock cts...@gmail.com wrote: The thread I recall about not announcing your apps here was more of a don't announce your app here if you want to keep it private / low key. If I recall correctly the specific developer(s) was unhappy that someone had blogged about a particular app that wasn't full and ready but had been mentioned here. I think new app announcements are fine, especially in this case, it was done in a non-spammy manner. Most reasonably professional lists have a policy of no self promotion... please cite 3 examples. +Clint Not that I think there'd be much difficulty in doing so, I a) have better things to do and b) have no time or energy to get into a pointless pissing match. Go show me 300 that don't. Who cares? It's common enough, whether it's 50% or 85%.
[twitter-dev] Re: New app: twivert.com
I think its fine as long as it is done only once for the app and the user interacts here more than just for purpose of telling people about the new app. On Jul 14, 10:19 am, Chad Etzel jazzyc...@gmail.com wrote: On Tue, Jul 14, 2009 at 12:16 PM, Andrew Baderaand...@badera.us wrote: When did this dev list become a self-promotion list? Can we knock this garbage off already? I get enough spam ON Twitter these days, I don't need it coming into my inbox via the dev list. I thought one of the purposes of the list was to promote/announce your new apps when they go live so that other devs are aware of new stuff coming out. Whether you like the app or not is up to you... -Chad
[twitter-dev] Re: New app: twivert.com
Wow now I get spammed by people arguing about spam - and I'm now adding to that spam - oh the irony! ;-) Seriously though I've received more unwanted emails arguing about product announcements then I get product announcements - not sure where the harm in a one off product announcement was anyway. Peace, as they say, Neil. On 14 Jul 2009, at 19:35, Joel Strellner wrote: I think its fine as long as it is done only once for the app and the user interacts here more than just for purpose of telling people about the new app. On Jul 14, 10:19 am, Chad Etzel jazzyc...@gmail.com wrote: On Tue, Jul 14, 2009 at 12:16 PM, Andrew Baderaand...@badera.us wrote: When did this dev list become a self-promotion list? Can we knock this garbage off already? I get enough spam ON Twitter these days, I don't need it coming into my inbox via the dev list. I thought one of the purposes of the list was to promote/announce your new apps when they go live so that other devs are aware of new stuff coming out. Whether you like the app or not is up to you... -Chad
[twitter-dev] Re: How to track a phrase in Streaming API?
Currently track works only on keywords, not phrases. This answers my question very clearly, thanks John! I'm storing the data in a local database anyways, so I can just do a phrase search of my data and delete the records I don't need. More data than necessary gets transmitted from Twitter this way, but I guess there's no way around it -- and for me the end result is the same anyways -- so it looks like I can proceed successfully now. Thanks again for everyone's help, I'll be back when I have new questions ... :) Owkaye
[twitter-dev] Search API ignoring since_id?
I'm noticing something strange in my search logs at the moment... I'm getting back a full set of results (number of results = rpp) when using since_id when I know that shouldn't be the case. Is something strange going on? I'm digging deeper, but wanted to see if something was up. -Chad
[twitter-dev] Looking for Web Developer in the Boston area for our Twitter App
Hope its cool to post jobs here in this Google Group. TasteLive is growing and we are looking for a Web Developer to join out team. TasteLive is looking for a web developer local to the Boston area to join our Team. Twitter API, Twitter Search API Facebook API experience is a must. We have a 37 Signals approach to our business and to the building of the web application and are looking for a team player that can handle the Development and Maintenance of the Application. Skills: PHP, MySQL, Expression Engine, JSON, jQuery, Twitter API, Facebook API, Twitter Search API, other 3rd party API's like Twitpic Twitvid or Qik are helpful. more info here - http://tastelive.com/blog/view/tastelive-web-developer-position Thanks. Chris Saltline Studio
[twitter-dev] Re: How far back in time does Twitter search go?
Last i checked about a week. Abraham On Tue, Jul 14, 2009 at 15:13, M. Edward (Ed) Borasky zzn...@gmail.comwrote: A friend of mine asked me this on Twitter: Does anyone know officially how far back in time Twitter search goes? -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham Project | http://fireeagle.labs.poseurtech.com This email is: [ ] blogable [x] ask first [ ] private.
[twitter-dev] Re: Search API ignoring since_id?
Same thing here, since_id is totally ignored and I'm getting duplicated results On Jul 14, 12:50 pm, Chad Etzel jazzyc...@gmail.com wrote: I'm noticing something strange in my search logs at the moment... I'm getting back a full set of results (number of results = rpp) when using since_id when I know that shouldn't be the case. Is something strange going on? I'm digging deeper, but wanted to see if something was up. -Chad
[twitter-dev] Re: Search API ignoring since_id?
I seem to be having a similar issue, for the last 30 minutes or so. -Ryan On Jul 14, 1:50 pm, Chad Etzel jazzyc...@gmail.com wrote: I'm noticing something strange in my search logs at the moment... I'm getting back a full set of results (number of results = rpp) when using since_id when I know that shouldn't be the case. Is something strange going on? I'm digging deeper, but wanted to see if something was up. -Chad
[twitter-dev] Re: Search API ignoring since_id?
For others' edification: Twitter devs have said this is a bug and they are actively working on resolving it. In the mean time, I am checking search result IDs against the since_id I passed in and just cut off duplicate results before I do anything with them... This seems to be a good general stopgap until the bug is fixed. -Chad On Tue, Jul 14, 2009 at 4:50 PM, TweetByMailrpill...@gmail.com wrote: I seem to be having a similar issue, for the last 30 minutes or so. -Ryan On Jul 14, 1:50 pm, Chad Etzel jazzyc...@gmail.com wrote: I'm noticing something strange in my search logs at the moment... I'm getting back a full set of results (number of results = rpp) when using since_id when I know that shouldn't be the case. Is something strange going on? I'm digging deeper, but wanted to see if something was up. -Chad
[twitter-dev] Is it okay to close a connection by opening a new one?
The Streaming API docs say we should avoid opening new connections with the same user:pass when that user already has a connection open. But I'm hoping it is okay to do this every hour or so, here's why: My plan is to write the streaming XML data to a text file during each connection -- but I don't want this file to get so big that I have trouble processing it on the back end. Therefore I want to rotate these files every hour ... This means I have to stop writing to the file, close it, move it somewhere else, and create a new file so I can use the new file to continue storing new streaming XML data. The obvious way for me to close these files is to close the connection -- by opening a new connection -- because from what I've read it seems that opening a new connection forces the previous connection to close. Can I do this without running into any black listing or denial of service issues? I mean, is this an acceptable way to close a connection ... by opening a new one in order to force the old connection to close? Any info you can provide that will clarify this issue is greatly appreciated, thanks! Owkaye
[twitter-dev] Re: Is it okay to close a connection by opening a new one?
If you're only doing this every hour, that's fine by us. On Tue, Jul 14, 2009 at 15:58, owkaye owk...@gmail.com wrote: The Streaming API docs say we should avoid opening new connections with the same user:pass when that user already has a connection open. But I'm hoping it is okay to do this every hour or so, here's why: My plan is to write the streaming XML data to a text file during each connection -- but I don't want this file to get so big that I have trouble processing it on the back end. Therefore I want to rotate these files every hour ... This means I have to stop writing to the file, close it, move it somewhere else, and create a new file so I can use the new file to continue storing new streaming XML data. The obvious way for me to close these files is to close the connection -- by opening a new connection -- because from what I've read it seems that opening a new connection forces the previous connection to close. Can I do this without running into any black listing or denial of service issues? I mean, is this an acceptable way to close a connection ... by opening a new one in order to force the old connection to close? Any info you can provide that will clarify this issue is greatly appreciated, thanks! Owkaye -- Alex Payne - Platform Lead, Twitter, Inc. http://twitter.com/al3x
[twitter-dev] Re: Is it okay to close a connection by opening a new one?
Why can't you do this entirely in your code? Why do you need to close the connection and reconnect? Closing a file, moving it, and then creating a new file should be able to be done extremely fast, thus you shouldn't need to close your connection to Twitter. Also, if at all possible, JSON is a much better format to use. It's smaller over the wire, and it'll create smaller files. -Joel From: twitter-development-talk@googlegroups.com [mailto:twitter-development-t...@googlegroups.com] On Behalf Of Alex Payne Sent: Tuesday, July 14, 2009 4:07 PM To: twitter-development-talk@googlegroups.com Subject: [twitter-dev] Re: Is it okay to close a connection by opening a new one? If you're only doing this every hour, that's fine by us. On Tue, Jul 14, 2009 at 15:58, owkaye owk...@gmail.com wrote: The Streaming API docs say we should avoid opening new connections with the same user:pass when that user already has a connection open. But I'm hoping it is okay to do this every hour or so, here's why: My plan is to write the streaming XML data to a text file during each connection -- but I don't want this file to get so big that I have trouble processing it on the back end. Therefore I want to rotate these files every hour ... This means I have to stop writing to the file, close it, move it somewhere else, and create a new file so I can use the new file to continue storing new streaming XML data. The obvious way for me to close these files is to close the connection -- by opening a new connection -- because from what I've read it seems that opening a new connection forces the previous connection to close. Can I do this without running into any black listing or denial of service issues? I mean, is this an acceptable way to close a connection ... by opening a new one in order to force the old connection to close? Any info you can provide that will clarify this issue is greatly appreciated, thanks! Owkaye -- Alex Payne - Platform Lead, Twitter, Inc. http://twitter.com/al3x
[twitter-dev] Re: Rate Limit reporting
Hi again, Thank you for your prompt reply, I really appreciate it. My application just went over the limit again on one account, and new status updates sent through the API are not accepted. When I try to post an update through the web UI to the same account, I get the error message Wow, that's a lot of Twittering! You have reached your limit of updates for the hour. Try again later. Below is the debug info I have been able to glean. This issue makes it hard to stay under the rate limit :-) Please let me know what you think. When I call the API curl -u username:password http://twitter.com/account/rate_limit_status.xml I get this response every time: ?xml version=1.0 encoding=UTF-8? hash reset-time type=datetime2009-07-15T00:13:56+00:00/reset-time remaining-hits type=integer2/remaining-hits hourly-limit type=integer2/hourly-limit reset-time-in-seconds type=integer1247616836/reset-time-in- seconds /hash Yesterday I got hourly-limit=150 two times out of a dozen requests, but I'm only getting the 20,000 number today. The HTTP headers in the response are: HTTP/1.1 200 OK Date: Tue, 14 Jul 2009 23:13:56 GMT Server: hi Last-Modified: Tue, 14 Jul 2009 23:13:56 GMT Status: 200 OK ETag: 56f05d81ae1e088e58e908037fe15aef Pragma: no-cache Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Content-Type: application/xml; charset=utf-8 Content-Length: 306 Expires: Tue, 31 Mar 1981 05:00:00 GMT X-Revision: 2da57beb7893dcb352b069aadddbf5916013ea1d X-Transaction: 1247613236-88799-1093 Set-Cookie: lang=en; path=/ Set-Cookie: _twitter_sess=BAh7CToJdXNlcmkEKk1aAzoHaWQiJTZiMWI4MmQ3MDNmOWFhZjdiMD hiYmI1%250AZTYzN2I1NjgwIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6%250ARmxh c2hIYXNoewAGOgpAdXNlZHsAOhNwYXNzd29yZF90b2tlbiItMWQ1YmZl %250AMTE5NmYwOTlhYjI2OGE 1NTRiNmMwYzJjOWQ1ZWQ5ODUzZg%253D %253D--0bb9b2c1b8d9bee81c7aa35e9a91a6745df9a888; domain=.twitter.com; path=/ Vary: Accept-Encoding /Martin On Jul 13, 7:48 pm, alan_b ala...@gmail.com wrote: but thehttp://apiwiki.twitter.com/Rate-limiting doc also said: If you have received verification from Twitter that your account and/ or IP address has been whitelisted you can verify your whitelisting with the accounts/rate_limit_status method. Calling this method with credentials will return the rate limit status of the authenticating user and invoking this method without credentials will return the rate limit status of the calling IP address. but my experience is callinghttp://twitter.com/account/rate_limit_status.xml with a valid credential using OAuth always return rate limit status of the calling IP address, not the given credential. On Jul 14, 9:27 am, Damon Clinkscales sca...@pobox.com wrote: The doc says: IP whitelisting takes precedence to account rate limits. GET requests from a whitelisted IP address made on a user's behalf will be deducted from the whitelisted IP's limit, not the users. http://apiwiki.twitter.com/Rate-limiting If he's seeing a 20k limit, then that implies it's a whitelisted IP. According to the above, that IP would take precedence over the account user's passed in credentials. Yes? Both Matt and Doug answered this question though, so I feel like I must be reading this wrong. :) -damon --http://twitter.com/damon On Mon, Jul 13, 2009 at 7:48 PM, Doug Williamsd...@twitter.com wrote: Martin, That's interesting. Is there a pattern to this? Can you offer steps for recreation? It would be helpful to have full header information when this does happen so we can look to see if a specific machine that is returning incorrect information. Thanks, Doug On Mon, Jul 13, 2009 at 4:26 PM, Martin Omander moman...@google.com wrote: Hi there, I'm getting the same thing, that is the rate limit for my IP address rather than for the account... most of the time. I run this curl command curl -u username:password http://twitter.com/account/rate_limit_status.xml where username and password are the account's real username and password. Most of the time the response contains an hourly-limit of 20,000, for my IP address I assume. But occasionally the exact same curl command returns an hourly-limit of 150. Very odd. I assume curl handles the credentials correctly. Any thoughts? /Martin On Jul 13, 9:54 am, Justin justin.realw...@googlemail.com wrote: Sorry about emailing you my last response. I understand what you're saying about firefox - though I'm having the same issue with requests via Microsoft.XMLHTTP requests - it's gone the end of the day now (I do have a habit of starting these things when there's no time). Will carry on the fight tomorrow - at least I have a direction now - will try some other request methods. Many thanks once again for your quick responses. @JustinReid On Jul 13, 5:26 pm, Matt Sanford m...@twitter.com wrote: Hi Justin,
[twitter-dev] Want to develop a Twitter app/bot for Google Wave?
Do you have a killer Twitter idea for Google Wave? Didn't get into the beta? The Wave team has generously offered up to 100 sandbox accounts to Twitter developers who want to experiment. We're looking forward to seeing what you build. If you're interested, please fill out http://spreadsheets.google.com/viewform?formkey=dHpOUzhhR2ExOTlhamFQM0ktV1Awa3c6MA .. Enjoy! -- Alex Payne - Platform Lead, Twitter, Inc. http://twitter.com/al3x
[twitter-dev] Re: Failed update doesn't return an error message?
Doug, Thanks for your prompt reply. Yes, it does sound like issue 795. I am sending a new, non-duplicate, update. My app just ran into the rate limit again. I verified by trying to post an update on twitter.com and got the message Wow, that's a lot of Twittering! You have reached your limit of updates for the hour. Try again later. While my account (@martins_test) was in this state, I sent this: curl -u username:password -d status=testing http://twitter.com/statuses/update.xml -D headerfile The XML response contained the text of the last successful status update. The HTTP headers started with HTTP/1.1 200 OK In other words, this is the same problem I ran into yesterday. Is there any other data that would help troubleshoot this? All the best, /Martin On Jul 13, 5:52 pm, Doug Williams d...@twitter.com wrote: Martin, This sounds like issue 795 [1]. When you get the 200, are you sending the same (duplicate) text as the last successful update? If so, this is the expected behavior. However, if you are sending new (non duplicate) text and you are hitting the update limit, you should be receiving a HTTP 403 response code. Can you specify exactly what you are doing so we can debug? 1.http://code.google.com/p/twitter-api/issues/detail?id=795 Thanks, Doug On Mon, Jul 13, 2009 at 4:38 PM, Martin Omander moman...@google.com wrote: Hi there, Earlier today I ran afoul of the rate limit for updates through the API. But no error was returned to my app. To make sure my app wasn't suppressing the error message, I sent an update using curl: curl -u username:password -d status=testing http://twitter.com/statuses/update.xml -D headerfile The status wasn't updated and no error message was returned. The headerfile contained HTTP return code 200. But when I tried to enter an update for the same account through the web interface at twitter.com, I got an error message saying that I had posted too many updates in the last hour. When I used the curl command above and the update failed, I did notice that the returned text element did not contain the status text I had sent. Instead it contained my last successful update from 30 minutes earlier. When there is a successful update, the text element seems to contain the status update I just sent. Should I examine the text element to verify that the update worked, instead of checking for HTTP error codes? Or was this just a temporary glitch today? All the best, /Martin
[twitter-dev] Geo location?
Can we pass geo tag in status or direct messages? Have not seen this in API but have heard there is or will be support for this. B-
[twitter-dev] Re: Failed update doesn't return an error message?
Sounds like we have all we need. Thanks for the help, Martin. I'll add a link to this thread to the bug report for posterity. Thanks, Doug On Tue, Jul 14, 2009 at 4:40 PM, Martin Omandermoman...@google.com wrote: Doug, Thanks for your prompt reply. Yes, it does sound like issue 795. I am sending a new, non-duplicate, update. My app just ran into the rate limit again. I verified by trying to post an update on twitter.com and got the message Wow, that's a lot of Twittering! You have reached your limit of updates for the hour. Try again later. While my account (@martins_test) was in this state, I sent this: curl -u username:password -d status=testing http://twitter.com/statuses/update.xml -D headerfile The XML response contained the text of the last successful status update. The HTTP headers started with HTTP/1.1 200 OK In other words, this is the same problem I ran into yesterday. Is there any other data that would help troubleshoot this? All the best, /Martin On Jul 13, 5:52 pm, Doug Williams d...@twitter.com wrote: Martin, This sounds like issue 795 [1]. When you get the 200, are you sending the same (duplicate) text as the last successful update? If so, this is the expected behavior. However, if you are sending new (non duplicate) text and you are hitting the update limit, you should be receiving a HTTP 403 response code. Can you specify exactly what you are doing so we can debug? 1.http://code.google.com/p/twitter-api/issues/detail?id=795 Thanks, Doug On Mon, Jul 13, 2009 at 4:38 PM, Martin Omander moman...@google.com wrote: Hi there, Earlier today I ran afoul of the rate limit for updates through the API. But no error was returned to my app. To make sure my app wasn't suppressing the error message, I sent an update using curl: curl -u username:password -d status=testing http://twitter.com/statuses/update.xml -D headerfile The status wasn't updated and no error message was returned. The headerfile contained HTTP return code 200. But when I tried to enter an update for the same account through the web interface at twitter.com, I got an error message saying that I had posted too many updates in the last hour. When I used the curl command above and the update failed, I did notice that the returned text element did not contain the status text I had sent. Instead it contained my last successful update from 30 minutes earlier. When there is a successful update, the text element seems to contain the status update I just sent. Should I examine the text element to verify that the update worked, instead of checking for HTTP error codes? Or was this just a temporary glitch today? All the best, /Martin
[twitter-dev] New Twitter dev list
In order to help folks find all of us, I set up a searchable directory on our new Twitter groups platform, Floxee. I took all the data from the Wiki, which I assumed was public info. If you would like to opt-out (or get added) please @ me. http://twitterdevs.floxee.com/ you can drill-down by tag on the list page: http://twitterdevs.floxee.com/list Wynn Netherland Mastermind, Pixel Pusher Squeejee twitter: pengwynn
[twitter-dev] Re: Geo location?
Not just yet, but we're working on it. On Tue, Jul 14, 2009 at 16:48, Brother obran...@gmail.com wrote: Can we pass geo tag in status or direct messages? Have not seen this in API but have heard there is or will be support for this. B- -- Alex Payne - Platform Lead, Twitter, Inc. http://twitter.com/al3x
[twitter-dev] Following metric is null
Hi all, Has anyone seen the following field from gardenhose API always returning null? Is this as designed or is it a bug? Thanks, Kris.
[twitter-dev] Failed API returning over capacity HTML page content
I'm getting a bunch of exceptions logged tonight where the API is returning the actual html content for the Over capacity web page, instead of an error code. That isn't expected, is it? I would expect one of the 500 error codes. J.D.