Twitter Sourcerer
Another quick and dirty page - displays simple stats on Twitter client sources based on Search API results: http://tweetgrid.com/sources Interesting to see where they call come from... especially for high volume searches like http -Chad
Twitter Developer Nest - An event for our community
Hi Everyone I'm please to announce a new community event for people doing the things we do - developing Twitter apps. It's called the Twitter Developer Nest and the first event will be in London on the evening of 24th March. You can find out more and grab a ticket here: http://twitterdevelopernest.com/2009/02/london-launch-event/ Or follow @devnest for updates. If you are not in the UK and are interested in running an event like this in your part of the world please let me know and we'll see what we can do to help. Best wishes, Jon / @madmotive -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialists http://inuda.com http://twitter.com/inuda Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology - http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter: http://twitter.com/madmotive
Re: Maillist Title
+1 for [twitter-dev]
Re: Twitter Developer Nest - An event for our community
Will said Nest involve refreshments such as bug or nightcrawler (preferably pre-chewed)? Should we be aware not to park underneath the Nest? On Fri, Feb 20, 2009 at 7:10 AM, Jon j.l.markw...@inuda.com wrote: Hi Everyone I'm please to announce a new community event for people doing the things we do - developing Twitter apps. It's called the Twitter Developer Nest and the first event will be in London on the evening of 24th March. You can find out more and grab a ticket here: http://twitterdevelopernest.com/2009/02/london-launch-event/ Or follow @devnest for updates. If you are not in the UK and are interested in running an event like this in your part of the world please let me know and we'll see what we can do to help. Best wishes, Jon / @madmotive -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialists http://inuda.com http://twitter.com/inuda Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology - http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter: http://twitter.com/madmotive
Re: HTTP Status 0
Are you seeing any signs that you've been blacklisted? Are any calls getting through? I've seen this before but only when my IP was blacklisted (because of a bug that sent a script into an infinite loop). @dougw On Feb 19, 9:35 pm, Eric Blair eric.s.bl...@gmail.com wrote: I've been seeing that a bit the past few days as well (it looks like the email I sent to the list yesterday about curl multi was an HTTP Status 0 issue). We were outputting the curl output from our app to a file for a bit - it definitely seemed like the cases with status code 0 weren't communicating with Twitter - I've pasted some sample output at the end of the email. The log describes the following situation - we batched 4 requests and, in this case, 2 succeeded and 2 failed. In this case, the failures show up as Connection Timeout. I saw a few of these happen live in our logs and the timeout was definitely shorter than the value we set for CURLOPT_TIMEOUT. However, it might've been long enough to hit the limit set for CURLOPT_CONNECTTIMEOUT. We're increasing that value to see if improves the situation. In other cases, we saw Host Not Found instead of Connection Timeout, so I'm not certain if this will resolve the issue. One thing we did notice is that it looks like we're getting some major packet loss between our server and Twitter - one host was dropping 25% of packets and the next host was dropping 11%. We thought that seemed excessive and might've been contributing to the status 0 message. Here's a sample of the problematic portion of the traceroute: Packets Pings Loss% Snt Last Avg Best Wrst StDev 8. xe-0-3-0.r21.chcgil09.us.bb.gin.ntt.net 0.4% 3526 4.0 4.8 4.0 224.0 7.8 9. p64-7-0-3.r20.snjsca04.us.bb.gin.ntt.net 25.7% 3526 56.0 55.3 52.0 228.0 9.3 10. xe-1-3.r02.mlpsca01.us.bb.gin.ntt.net 11.1% 3526 52.0 68.6 52.0 564.0 44.5 11. mg-1.c00.mlpsca01.us.da.verio.net 0.4% 3526 56.0 73.2 52.0 4536. 92.4 Here's the curl output - * About to connect() towww.twitter.comport 80 (#0) * Trying 128.121.146.100... * About to connect() towww.twitter.comport 80 (#1) * Trying 128.121.146.100... * About to connect() towww.twitter.comport 80 (#2) * Trying 128.121.146.100... * About to connect() towww.twitter.comport 80 (#3) * Trying 128.121.146.100... * Connected towww.twitter.com(128.121.146.100) port 80 (#2) * Server auth using Basic with user '**' GET /direct_messages.xml?count=25since=Mon+Feb+16+03%3A07%3A36+ %2B+2009 HTTP/1.1 * Connected towww.twitter.com(128.121.146.100) port 80 (#3) * Server auth using Basic with user '**' GET /direct_messages/sent.xml?count=25since=Mon+Feb +16+03%3A07%3A36+%2B+2009 HTTP/1.1 HTTP/1.1 200 OK Date: Thu, 19 Feb 2009 20:51:06 GMT Server: hi Last-Modified: Thu, 19 Feb 2009 20:51:06 GMT Status: 200 OK ETag: 8cbb8956513e515ff337bf304285829f 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: 79 Expires: Tue, 31 Mar 1981 05:00:00 GMT X-Revision: d50813e1759a5b669840a0ae553da67b69c67caf X-Transaction: 123507-28856-29642 Set-Cookie: lang=en; path=/ Set-Cookie: lang=en; path=/ Set-Cookie: _twitter_sess = BAh7CToTcGFzc3dvcmRfdG9rZW4iLWRiNDcwZjgzYWFlNjU5YTk5YmM1MjY1 %250AZjE4OTM5MzUwNDA2NWJlMjA6CXVzZXJpA%252F5d5ToHaWQiJTIyMmVmZmVlMjFk %250ANWU4OWY0NGNmMWU1MzM2MTEzZWQ3IgpmbGFzaElDOidBY3Rpb25Db250cm9s %250AbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA --5bd0845e53637728605a15dd8c9fa4043cb5fea6; domain=.twitter.com; path=/ Vary: Accept-Encoding Connection: close * Expire cleared * Closing connection #2 HTTP/1.1 200 OK Date: Thu, 19 Feb 2009 20:51:06 GMT Server: hi Last-Modified: Thu, 19 Feb 2009 20:51:06 GMT Status: 200 OK ETag: 8cbb8956513e515ff337bf304285829f 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: 79 Expires: Tue, 31 Mar 1981 05:00:00 GMT X-Revision: d50813e1759a5b669840a0ae553da67b69c67caf X-Transaction: 123507-55169-28378 Set-Cookie: lang=en; path=/ Set-Cookie: lang=en; path=/ Set-Cookie: _twitter_sess = BAh7CToTcGFzc3dvcmRfdG9rZW4iLWRiNDcwZjgzYWFlNjU5YTk5YmM1MjY1 %250AZjE4OTM5MzUwNDA2NWJlMjA6CXVzZXJpA %252F5d5ToHaWQiJTUwYjUxMDg1OGE2 %250AY2ZlYWNhYzE2MDQ1ZjlmMWRjZDRkIgpmbGFzaElDOidBY3Rpb25Db250cm9s
Re: HTTP Status 0
Hi there, Thanks for the follow up Eric. Based on my reading about libcurl failure to connect certainly looks like it would return HTTP 0. I wish I could just say not my issue and move on at this point, but I'm not That Guy™. Failure to connect to twitter.com can either be some network issue between our two sites or that your IP has been blacklisted [1]. In your case, Eric, I know we've talked before and I'm pretty sure you're not on the blacklist. The intermittent nature of your problem supports that. The same goes for Chris, 30% failure is not consistent with blacklisting. In both of your cases it would be helpful if you can send me (off list) a full traceroute to twitter.com that shows the timeout. I'll get those in the hands of our operations folks and see if the problem is with our provider (who we can harass) or someone else. It may well be someone you two have in common, which is why we don't see more reports of the issue. Thanks; — Matt Sanford [1] - http://apiwiki.twitter.com/FAQ#IsmyIPbannedorblacklisted On Feb 19, 2009, at 06:35 PM, Eric Blair wrote: I've been seeing that a bit the past few days as well (it looks like the email I sent to the list yesterday about curl multi was an HTTP Status 0 issue). We were outputting the curl output from our app to a file for a bit - it definitely seemed like the cases with status code 0 weren't communicating with Twitter - I've pasted some sample output at the end of the email. The log describes the following situation - we batched 4 requests and, in this case, 2 succeeded and 2 failed. In this case, the failures show up as Connection Timeout. I saw a few of these happen live in our logs and the timeout was definitely shorter than the value we set for CURLOPT_TIMEOUT. However, it might've been long enough to hit the limit set for CURLOPT_CONNECTTIMEOUT. We're increasing that value to see if improves the situation. In other cases, we saw Host Not Found instead of Connection Timeout, so I'm not certain if this will resolve the issue. One thing we did notice is that it looks like we're getting some major packet loss between our server and Twitter - one host was dropping 25% of packets and the next host was dropping 11%. We thought that seemed excessive and might've been contributing to the status 0 message. Here's a sample of the problematic portion of the traceroute: Packets Pings Loss% Snt LastAvg BestWrstStDev 8. xe-0-3-0.r21.chcgil09.us.bb.gin.ntt.net 0.4% 35264.0 4.8 4.0 224.0 7.8 9. p64-7-0-3.r20.snjsca04.us.bb.gin.ntt.net25.7% 3526 56.055.3 52.0228.0 9.3 10. xe-1-3.r02.mlpsca01.us.bb.gin.ntt.net11.1% 3526 52.0 68.6 52.0 564.0 44.5 11. mg-1.c00.mlpsca01.us.da.verio.net 0.4% 352656.073.252.0 4536. 92.4 Here's the curl output - * About to connect() to www.twitter.com port 80 (#0) * Trying 128.121.146.100... * About to connect() to www.twitter.com port 80 (#1) * Trying 128.121.146.100... * About to connect() to www.twitter.com port 80 (#2) * Trying 128.121.146.100... * About to connect() to www.twitter.com port 80 (#3) * Trying 128.121.146.100... * Connected to www.twitter.com (128.121.146.100) port 80 (#2) * Server auth using Basic with user '**' GET /direct_messages.xml?count=25since=Mon+Feb+16+03%3A07%3A36+ %2B+2009 HTTP/1.1 * Connected to www.twitter.com (128.121.146.100) port 80 (#3) * Server auth using Basic with user '**' GET /direct_messages/sent.xml?count=25since=Mon+Feb +16+03%3A07%3A36+%2B+2009 HTTP/1.1 HTTP/1.1 200 OK Date: Thu, 19 Feb 2009 20:51:06 GMT Server: hi Last-Modified: Thu, 19 Feb 2009 20:51:06 GMT Status: 200 OK ETag: 8cbb8956513e515ff337bf304285829f 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: 79 Expires: Tue, 31 Mar 1981 05:00:00 GMT X-Revision: d50813e1759a5b669840a0ae553da67b69c67caf X-Transaction: 123507-28856-29642 Set-Cookie: lang=en; path=/ Set-Cookie: lang=en; path=/ Set-Cookie: _twitter_sess = BAh7CToTcGFzc3dvcmRfdG9rZW4iLWRiNDcwZjgzYWFlNjU5YTk5YmM1MjY1 %250AZjE4OTM5MzUwNDA2NWJlMjA6CXVzZXJpA%252F5d5ToHaWQiJTIyMmVmZmVlMjFk %250ANWU4OWY0NGNmMWU1MzM2MTEzZWQ3IgpmbGFzaElDOidBY3Rpb25Db250cm9s %250AbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA --5bd0845e53637728605a15dd8c9fa4043cb5fea6; domain=.twitter.com; path=/ Vary: Accept-Encoding Connection: close * Expire cleared * Closing connection #2 HTTP/1.1 200 OK Date: Thu, 19 Feb 2009 20:51:06 GMT Server: hi
Re: Direct_message returns nil
Ahila, Can you give more specifics on how you are invoking the API. What language or tool are you using to send your HTTP requests? @dougw On Feb 20, 2:13 am, Ahila ahilas2...@gmail.com wrote: Hi, I am using http://username:passw...@twitter.com/direct_messages.xml in my code. But it is always returning nil class. Any help in this regard is highly appreciated. Thanks
Re: HTTP Status 0
I've been seeing the same thing - it started about 3 days ago. I installed a qd delay/retry loop to manage it and log the times on a couple of API calls - rate_limit_status.json test.json It seems to be mostly gone today - has only happened once so far at 07:02:22. Yesterday this was a continual problem, with a solid burst locking me out from 14:46:05 to 14:47:16 (I'm retrying every 3 seconds), and ongoing from that point sporadically, at times replying with nothing for 3 or 4 retries before getting a reasonable reply until 19:45:04 - and other than the 1 today, no problems at all from that point. On Feb 19, 4:53 pm, Chris chris.rick...@gmail.com wrote: Howdy, I am making API calls to Twitter using PHP ('Arc90 Twitter API Client' Library) to update a users status, and about 3 out of 10 times CURL returns a HTTP status code of 0 - with no other data returned. But if I try again and again it will usually work within a few repeats. Does anyone have any ideas about this? Thanks for your help, Chris.
Re: HTTP Status 0
The times may help me do some network troubleshooting, what timezone is that? On Feb 20, 2009, at 08:13 AM, swggy wrote: I've been seeing the same thing - it started about 3 days ago. I installed a qd delay/retry loop to manage it and log the times on a couple of API calls - rate_limit_status.json test.json It seems to be mostly gone today - has only happened once so far at 07:02:22. Yesterday this was a continual problem, with a solid burst locking me out from 14:46:05 to 14:47:16 (I'm retrying every 3 seconds), and ongoing from that point sporadically, at times replying with nothing for 3 or 4 retries before getting a reasonable reply until 19:45:04 - and other than the 1 today, no problems at all from that point. On Feb 19, 4:53 pm, Chris chris.rick...@gmail.com wrote: Howdy, I am making API calls to Twitter using PHP ('Arc90 Twitter API Client' Library) to update a users status, and about 3 out of 10 times CURL returns a HTTP status code of 0 - with no other data returned. But if I try again and again it will usually work within a few repeats. Does anyone have any ideas about this? Thanks for your help, Chris.
[twitter-dev] Re: [twitter-development] Maillist Title
No objections, so it looks like the [twitter-dev]'s have it. — Matt On Feb 19, 2009, at 08:43 PM, Stuart wrote: Couldn't care less. -Stuart Sent from my leaf blower On 20 Feb 2009, at 01:31, Matt Sanford m...@twitter.com wrote: Hi all, Please respond into this thread with any objections or other suggestions. I'll review tomorrow and see where we're at. I personally like [twitter-dev] just to keep any confusion at bay. Twit is a word used by others, notably This Week in Tech … not that I think they have a dev group. Thanks; — Matt On Feb 19, 2009, at 05:26 PM, Mark Bao wrote: +1 for [twitdev]. On Feb 19, 2009, at 8:21 PM, bgil...@gmail.com wrote: I agree, it would make it easier to check on the 'ol BlackBerry. Maybe something like [twitdev] ? From: Leslie Huyan Date: Fri, 20 Feb 2009 09:15:43 +0800 To: twitter-development-talk@googlegroups.com Subject: [twitter-development] Maillist Title Hi, Can we add [twitter-development] or something else like this in the title of the emails from this group? Is there a automatic way provided by Google Group or do we need to specify it manually? In any case, it's better to have it like the other groups do, since it's promiscuous without it in my inbox. Leslie
[twitter-dev] User Id:Number Field
Hi all, Specific to the Action Script APIs that Twitter has, I was wondering how one may get the User Id of the user in the numeric format. I took a look at the source code and that has left me very confused. Even when the API retrieves the user data, the ID is left out. Those developing AIR apps. It would be great if you could help me out on this. http://www.niravthakker.co.cc When Life throws a lemon at you, make a lemonade! Nirav Thakker Bangalore http://www.niravthakker.co.cc http://www.niravthakker.co.cc mobile: +91-9845-950-420 http://www.plaxo.com/signature?src=client_sig_212_1_banner_siglang=en Want a signature like this?
[twitter-dev] Re: Twitter Developer Nest - An event for our community
There will be pizza and beer to wash it down... ... not sure what exactly will be on the pizza but there may be an option for pre-chewed if required. ;) Parking underneath the Nest is not recommended :). Arriving via public transport is. Only 19 out of 90 tickets remaining. On Fri, Feb 20, 2009 at 2:23 PM, Andrew Badera and...@badera.us wrote: Will said Nest involve refreshments such as bug or nightcrawler (preferably pre-chewed)? Should we be aware not to park underneath the Nest? On Fri, Feb 20, 2009 at 7:10 AM, Jon j.l.markw...@inuda.com wrote: Hi Everyone I'm please to announce a new community event for people doing the things we do - developing Twitter apps. It's called the Twitter Developer Nest and the first event will be in London on the evening of 24th March. You can find out more and grab a ticket here: http://twitterdevelopernest.com/2009/02/london-launch-event/ Or follow @devnest for updates. If you are not in the UK and are interested in running an event like this in your part of the world please let me know and we'll see what we can do to help. Best wishes, Jon / @madmotive -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialists http://inuda.com http://twitter.com/inuda Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology - http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter: http://twitter.com/madmotive -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialists http://inuda.com Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology - http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter: http://twitter.com/madmotive
[twitter-dev] Re: Twitter Developer Nest - An event for our community
Jonathan, Are you going to stream this live or blog any of the topics/concerns/ outcomes of this event? I will be extremely interested in remotely watching the discussion. Thanks, @dougw On Feb 20, 11:53 am, Jonathan Markwell j.l.markw...@inuda.com wrote: There will be pizza and beer to wash it down... ... not sure what exactly will be on the pizza but there may be an option for pre-chewed if required. ;) Parking underneath the Nest is not recommended :). Arriving via public transport is. Only 19 out of 90 tickets remaining. On Fri, Feb 20, 2009 at 2:23 PM, Andrew Badera and...@badera.us wrote: Will said Nest involve refreshments such as bug or nightcrawler (preferably pre-chewed)? Should we be aware not to park underneath the Nest? On Fri, Feb 20, 2009 at 7:10 AM, Jon j.l.markw...@inuda.com wrote: Hi Everyone I'm please to announce a new community event for people doing the things we do - developing Twitter apps. It's called the Twitter Developer Nest and the first event will be in London on the evening of 24th March. You can find out more and grab a ticket here: http://twitterdevelopernest.com/2009/02/london-launch-event/ Or follow @devnest for updates. If you are not in the UK and are interested in running an event like this in your part of the world please let me know and we'll see what we can do to help. Best wishes, Jon / @madmotive -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialists http://inuda.comhttp://twitter.com/inuda Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology -http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter:http://twitter.com/madmotive -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialistshttp://inuda.com Providing a nice place to work in the heart of Brighton -http://theskiff.org Helping people make a difference with technology -http://inuda.org Measuring your brand's visibility on the social web -http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter:http://twitter.com/madmotive
[twitter-dev] Re: About twitter Api
On Wed, Feb 18, 2009 at 11:03 AM, Matt Sanford m...@twitter.com wrote: 1. Can i fetch twitter users 'friends' and 'followers' names and images, without authenticating the user or by passing only username? You can get a users friends and followers using the friends and followers methods (see the next answer), which do not require authentication. That's true, although if you are doing this from a shared server (i.e. a shell account at Dreamhost or similar) you may find yourself hitting API rate limits. I've done curl http://twitter.com/account/rate_limit_status.xml which obviously had no authentication with it and seen the number at zero. I'm not sure if these limits are IP based or what. TjL
[twitter-dev] Re: Twitter Developer Nest - An event for our community
IRC would be useful. In general, are there any twitter-dev channels floating around? (other than my #twirssi :) Dan On Fri, Feb 20, 2009 at 11:00, Alex Payne a...@twitter.com wrote: Seconding that. We'd love to be telepresent, even if just via an audio stream or IRC or similar. On Fri, Feb 20, 2009 at 09:34, dougw igu...@gmail.com wrote: Jonathan, Are you going to stream this live or blog any of the topics/concerns/ outcomes of this event? I will be extremely interested in remotely watching the discussion. Thanks, @dougw On Feb 20, 11:53 am, Jonathan Markwell j.l.markw...@inuda.com wrote: There will be pizza and beer to wash it down... ... not sure what exactly will be on the pizza but there may be an option for pre-chewed if required. ;) Parking underneath the Nest is not recommended :). Arriving via public transport is. Only 19 out of 90 tickets remaining. On Fri, Feb 20, 2009 at 2:23 PM, Andrew Badera and...@badera.us wrote: Will said Nest involve refreshments such as bug or nightcrawler (preferably pre-chewed)? Should we be aware not to park underneath the Nest? On Fri, Feb 20, 2009 at 7:10 AM, Jon j.l.markw...@inuda.com wrote: Hi Everyone I'm please to announce a new community event for people doing the things we do - developing Twitter apps. It's called the Twitter Developer Nest and the first event will be in London on the evening of 24th March. You can find out more and grab a ticket here: http://twitterdevelopernest.com/2009/02/london-launch-event/ Or follow @devnest for updates. If you are not in the UK and are interested in running an event like this in your part of the world please let me know and we'll see what we can do to help. Best wishes, Jon / @madmotive -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialists http://inuda.comhttp://twitter.com/inuda Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology -http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter:http://twitter.com/madmotive -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialistshttp://inuda.com Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology -http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter:http://twitter.com/madmotive -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x -- Dan Boger
[twitter-dev] API for getting HTML fragments besides JSON/XML?
My user script (http://userscripts.org/scripts/show/24398) offers an option to poll the API for new updates and insert them in the page -- what every normal twitter client does, basically. Only this twitter client, being a user script, hasn't got a UI of its own -- the twitter.com site is the UI. When a new update is detected, I receive it as JSON but then I have to go through a painful step of generating HTML markup to match the markup of Twitter.com for a single update. This code can be seen here: http://gist.github.com/67592 This step is also very fragile: when Twitter.com changes markup (which it does a lot lately), this script generates obsolete HTML. If the API for getting updates provided HTML fragments instead of JSON, I could simply insert the received HTML in the page. Will this extension of the API ever be considered? Technically, this should be trivial to implement -- the response would be a rendered view partial. In fact, Twitter already implemented it as part of the Ajax API for the web. When you post an update from the main form on the site, an Ajax request submits the update and gets JSON in return -- only this JSON includes nothing more than a few properties with HTML fragments to be inserted in appropriate places. Another place where Twitter.com returns HTML fragments for Ajax requests is pagination. The unreleased version of Endless Tweets (my user script) already uses this web API to preload pages while the user scrolls down. Thanks
[twitter-dev] Re: HTTP Status 0
Steve's comment that he's seen this over the past few days over set timespans - in our case, the problems are most prevalent between noon and 6PM, eastern. Also, here's my full traceroute: Packets Pings Host Loss% Snt Last Avg Best Wrst StDev 1. 209-20-64-2.slicehost.net 0.0% 35260.0 0.0 0.0 292.0 10.5 2. 209.20.79.225 0.6% 35260.0 0.0 0.0 252.0 8.0 3. ge-6-13-115.car1.StLouis1.Level3.net 0.2% 3526 196.0 10.1 0.0 304.0 35.5 4. ae-11-11.car2.StLouis1.Level3.net 0.7% 35260.0 13.4 0.0 328.0 41.4 5. ae-4-4.ebr2.Chicago1.Level3.net0.7% 35268.0 9.7 4.0 584.0 17.0 6. ae-2-56.edge3.Chicago3.Level3.net 0.6% 35264.0 9.5 4.0 304.0 21.8 7. 4.68.63.1980.5% 35264.0 23.5 4.0 360.0 46.9 8. xe-0-3-0.r21.chcgil09.us.bb.gin.ntt.net0.4% 35264.0 4.8 4.0 224.0 7.8 9. p64-7-0-3.r20.snjsca04.us.bb.gin.ntt.net 25.7% 3526 56.0 55.3 52.0 228.0 9.3 10. xe-1-3.r02.mlpsca01.us.bb.gin.ntt.net 11.1% 3526 52.0 68.6 52.0 564.0 44.5 11. mg-1.c00.mlpsca01.us.da.verio.net 0.4% 3526 56.0 73.2 52.0 4536. 92.4 12. 128.121.150.2050.6% 3526 52.0 53.4 52.0 356.0 12.2 13. 128.121.146.85 0.4% 3526 56.0 57.8 52.0 512.0 18.5 14. 128.121.146.1000.6% 3525 52.0 56.1 52.0 436.0 17.0 --Eric On Feb 20, 2009, at 11:27 AM, Matt Sanford wrote: The times may help me do some network troubleshooting, what timezone is that? On Feb 20, 2009, at 08:13 AM, swggy wrote: I've been seeing the same thing - it started about 3 days ago. I installed a qd delay/retry loop to manage it and log the times on a couple of API calls - rate_limit_status.json test.json It seems to be mostly gone today - has only happened once so far at 07:02:22. Yesterday this was a continual problem, with a solid burst locking me out from 14:46:05 to 14:47:16 (I'm retrying every 3 seconds), and ongoing from that point sporadically, at times replying with nothing for 3 or 4 retries before getting a reasonable reply until 19:45:04 - and other than the 1 today, no problems at all from that point. On Feb 19, 4:53 pm, Chris chris.rick...@gmail.com wrote: Howdy, I am making API calls to Twitter using PHP ('Arc90 Twitter API Client' Library) to update a users status, and about 3 out of 10 times CURL returns a HTTP status code of 0 - with no other data returned. But if I try again and again it will usually work within a few repeats. Does anyone have any ideas about this? Thanks for your help, Chris.
[twitter-dev] Re: Twitter Developer Nest - An event for our community
I'm trying to start one in chat.freenode.net #twitterapi. A few guys dropped by yesterday. M ark On Feb 20, 2009, at 3:43 PM, Dan Boger wrote: IRC would be useful. In general, are there any twitter-dev channels floating around? (other than my #twirssi :) Dan On Fri, Feb 20, 2009 at 11:00, Alex Payne a...@twitter.com wrote: Seconding that. We'd love to be telepresent, even if just via an audio stream or IRC or similar. On Fri, Feb 20, 2009 at 09:34, dougw igu...@gmail.com wrote: Jonathan, Are you going to stream this live or blog any of the topics/ concerns/ outcomes of this event? I will be extremely interested in remotely watching the discussion. Thanks, @dougw On Feb 20, 11:53 am, Jonathan Markwell j.l.markw...@inuda.com wrote: There will be pizza and beer to wash it down... ... not sure what exactly will be on the pizza but there may be an option for pre-chewed if required. ;) Parking underneath the Nest is not recommended :). Arriving via public transport is. Only 19 out of 90 tickets remaining. On Fri, Feb 20, 2009 at 2:23 PM, Andrew Badera and...@badera.us wrote: Will said Nest involve refreshments such as bug or nightcrawler (preferably pre-chewed)? Should we be aware not to park underneath the Nest? On Fri, Feb 20, 2009 at 7:10 AM, Jon j.l.markw...@inuda.com wrote: Hi Everyone I'm please to announce a new community event for people doing the things we do - developing Twitter apps. It's called the Twitter Developer Nest and the first event will be in London on the evening of 24th March. You can find out more and grab a ticket here: http://twitterdevelopernest.com/2009/02/london-launch-event/ Or follow @devnest for updates. If you are not in the UK and are interested in running an event like this in your part of the world please let me know and we'll see what we can do to help. Best wishes, Jon / @madmotive -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialists http://inuda.comhttp://twitter.com/inuda Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology -http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter:http://twitter.com/madmotive -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialistshttp://inuda.com Providing a nice place to work in the heart of Brighton -http://theskiff.org Helping people make a difference with technology -http://inuda.org Measuring your brand's visibility on the social web -http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter:http://twitter.com/madmotive -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x -- Dan Boger
[twitter-dev] Re: API for getting HTML fragments besides JSON/XML?
Our front-end team has been thinking about this lately. Nothing certain yet, but we'll consider it! On Fri, Feb 20, 2009 at 09:49, Mislav mislav.maroh...@gmail.com wrote: My user script (http://userscripts.org/scripts/show/24398) offers an option to poll the API for new updates and insert them in the page -- what every normal twitter client does, basically. Only this twitter client, being a user script, hasn't got a UI of its own -- the twitter.com site is the UI. When a new update is detected, I receive it as JSON but then I have to go through a painful step of generating HTML markup to match the markup of Twitter.com for a single update. This code can be seen here: http://gist.github.com/67592 This step is also very fragile: when Twitter.com changes markup (which it does a lot lately), this script generates obsolete HTML. If the API for getting updates provided HTML fragments instead of JSON, I could simply insert the received HTML in the page. Will this extension of the API ever be considered? Technically, this should be trivial to implement -- the response would be a rendered view partial. In fact, Twitter already implemented it as part of the Ajax API for the web. When you post an update from the main form on the site, an Ajax request submits the update and gets JSON in return -- only this JSON includes nothing more than a few properties with HTML fragments to be inserted in appropriate places. Another place where Twitter.com returns HTML fragments for Ajax requests is pagination. The unreleased version of Endless Tweets (my user script) already uses this web API to preload pages while the user scrolls down. Thanks -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x
[twitter-dev] Twitter IM: AIM, GTalk, Jabber, Etc..
I can't see anything about IM integration on the site, and all information is in old blog entries that seem to no longer apply. Does anyone know the *exact* status as to what's going to be done with IM integration or if this has been tabled?
[twitter-dev] Re: Twitter IM: AIM, GTalk, Jabber, Etc..
As far as I know, IM integration has been tabled indefinitely. It used to work up until about last May or so (I had a few jabber bots interacting with twitter at the time), but they live no more. ... unless somebody else knows otherwise? -Chad On Fri, Feb 20, 2009 at 6:23 PM, Scott Kingsley Clark sc0ttkcl...@gmail.com wrote: I can't see anything about IM integration on the site, and all information is in old blog entries that seem to no longer apply. Does anyone know the *exact* status as to what's going to be done with IM integration or if this has been tabled?
[twitter-dev] update_profile_background_image error
I've tried a variety of ways to send raw multipart data to twitter's update_background_image REST api. specs: http://apiwiki.twitter.com/REST+API+Documentation#updateprofilebackgroundimage The problem is that I get back a server error. I'd appreciate any help. I'm probably misunderstanding raw multipart data, so feel free to offer resources that might help. Currently I'm using python with the urllib and urllib2 standard libraries. I looked at pycurl but that would be a pain to integrate because everyone on the project uses different platforms (for which pycurl doesn't provide binaries) and possess varying levels of 'install-fu'. I found this to be a useful tutorial on urllib and urllib2: http://www.voidspace.org.uk/python/articles/urllib2.shtml I've tried sending the image opened, eg open(imgname, 'rb'), and mime'd, according to this resource: http://www.python.org/doc/2.2.3/lib/node397.html Here is some python code and errors. Be sure to provide a twitter username and password instead of XXX. username = XXX password = XXX url = 'http://twitter.com/account/update_profile_background_image.json' imgname = 'media/tcal/img/twitter_icon.jpg' fp = open(imgname, 'rb') img = MIMEImage(fp.read()) fp.close() values = {'image':img } data = urllib.urlencode(values) auth = urllib2.HTTPPasswordMgrWithDefaultRealm() auth.add_password(None, 'http://twitter.com/account/', username, password) authHandler = urllib2.HTTPBasicAuthHandler(authHandler) opener = urllib2.build_opener(authHandler) opener.open(url, data) Traceback (most recent call last): File stdin, line 1, in module File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 387, in open response = meth(req, response) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 498, in http_response 'http', request, response, code, msg, hdrs) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 419, in error result = self._call_chain(*args) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 360, in _call_chain result = func(*args) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 823, in http_error_401 url, req, headers) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 801, in http_error_auth_reqed return self.retry_http_basic_auth(host, req, realm) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 811, in retry_http_basic_auth return self.parent.open(req) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 387, in open response = meth(req, response) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 498, in http_response 'http', request, response, code, msg, hdrs) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 425, in error return self._call_chain(*args) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 360, in _call_chain result = func(*args) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 506, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 500: Internal Server Error try: ... opener.open(url, data) ... except IOError, e: ... print e.msg ... print e.message ... print e.headers ... print e.info ... print e.code ... print e.filename ... print e.hdrs ... Internal Server Error Date: Fri, 20 Feb 2009 23:33:23 GMT Server: hi Last-Modified: Fri, 20 Feb 2009 23:33:23 GMT Status: 500 Internal Server Error Pragma: no-cache Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Content-Type: text/html; charset=utf-8 Content-Length: 4491 Expires: Tue, 31 Mar 1981 05:00:00 GMT X-Revision: f6f5cf9a6a6126d6bcbde0d04f0484fa2e41de04 X-Transaction: 1235172803-94142-20328 Set-Cookie: lang=en; path=/ Set-Cookie: lang=en; path=/ Set-Cookie: _twitter_sess=BAh7CToTcGFzc3dvcmRfdG9rZW4iLWI4NzlhMDY4NzExNjU3Mzg4NzgzYTJi %250ANmNhYzQ0ODJhZjFjN2ExYzg6CXVzZXJpBJVMGAE6B2lkIiU3OTIyMTIyYzIy %250AZWZjYTJiNzU2MDAzNzNhNjFiN2M0NiIKZmxhc2hJQzonQWN0aW9uQ29udHJv %250AbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%253D%253D-- f3377a9ca3b85f32ccc0d06a6293d95cbc16245d; domain=.twitter.com; path=/ Vary: Accept-Encoding Connection: close bound method HTTPError.info of HTTPError() 500 http://twitter.com/account/update_profile_background_image.json Date: Fri, 20 Feb 2009 23:33:23 GMT Server: hi Last-Modified: Fri, 20 Feb 2009 23:33:23 GMT Status: 500 Internal Server Error Pragma: no-cache Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Content-Type: text/html; charset=utf-8 Content-Length: 4491 Expires: Tue, 31 Mar 1981 05:00:00 GMT X-Revision:
[twitter-dev] Re: Twitter IM: AIM, GTalk, Jabber, Etc..
I can't see anything about IM integration on the site, and all information is in old blog entries that seem to no longer apply. Does anyone know the *exact* status as to what's going to be done with IM integration or if this has been tabled? IM is gone for the moment according to the twitter blog. However you could use a service such as GNIP and have then send you the tweets via POST and from there have it sent to you bot. Aj
[twitter-dev] Re: Twitter Developer Nest - An event for our community
We'll see what we can do to make this happen. On Fri, Feb 20, 2009 at 7:00 PM, Alex Payne a...@twitter.com wrote: Seconding that. We'd love to be telepresent, even if just via an audio stream or IRC or similar. On Fri, Feb 20, 2009 at 09:34, dougw igu...@gmail.com wrote: Jonathan, Are you going to stream this live or blog any of the topics/concerns/ outcomes of this event? I will be extremely interested in remotely watching the discussion. Thanks, @dougw On Feb 20, 11:53 am, Jonathan Markwell j.l.markw...@inuda.com wrote: There will be pizza and beer to wash it down... ... not sure what exactly will be on the pizza but there may be an option for pre-chewed if required. ;) Parking underneath the Nest is not recommended :). Arriving via public transport is. Only 19 out of 90 tickets remaining. On Fri, Feb 20, 2009 at 2:23 PM, Andrew Badera and...@badera.us wrote: Will said Nest involve refreshments such as bug or nightcrawler (preferably pre-chewed)? Should we be aware not to park underneath the Nest? On Fri, Feb 20, 2009 at 7:10 AM, Jon j.l.markw...@inuda.com wrote: Hi Everyone I'm please to announce a new community event for people doing the things we do - developing Twitter apps. It's called the Twitter Developer Nest and the first event will be in London on the evening of 24th March. You can find out more and grab a ticket here: http://twitterdevelopernest.com/2009/02/london-launch-event/ Or follow @devnest for updates. If you are not in the UK and are interested in running an event like this in your part of the world please let me know and we'll see what we can do to help. Best wishes, Jon / @madmotive -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialists http://inuda.comhttp://twitter.com/inuda Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology -http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter:http://twitter.com/madmotive -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialistshttp://inuda.com Providing a nice place to work in the heart of Brighton -http://theskiff.org Helping people make a difference with technology -http://inuda.org Measuring your brand's visibility on the social web -http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter:http://twitter.com/madmotive -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialists http://inuda.com Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology - http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter: http://twitter.com/madmotive
[twitter-dev] Re: Include $ as a searchable character
It is already: http://search.twitter.com/search?q=%24AAPL On Fri, Feb 20, 2009 at 8:38 PM, Chad Etzel jazzyc...@gmail.com wrote: Would it be possible to include $ as a searchable character, much like # is for hashtags? This would be handy for following stock related tweets where people conventionally prepend ticker symbols with $ such as $GOOG or $AAPL. I'm sure the StockTwits devs would dig it also (I am not affiliated with them). -Chad -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialists http://inuda.com Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology - http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter: http://twitter.com/madmotive
[twitter-dev] Re: Include $ as a searchable character
Not quite. Your search example also matched just AAPL results (without a $). It will highlight (make bold) the $ character if it appears in the search result, but it does not actually match the $ in the original search. Try searching for something like $C (citigroup) http://search.twitter.com/search?q=%24C -Chad On Fri, Feb 20, 2009 at 8:08 PM, Jonathan Markwell j.l.markw...@inuda.com wrote: It is already: http://search.twitter.com/search?q=%24AAPL On Fri, Feb 20, 2009 at 8:38 PM, Chad Etzel jazzyc...@gmail.com wrote: Would it be possible to include $ as a searchable character, much like # is for hashtags? This would be handy for following stock related tweets where people conventionally prepend ticker symbols with $ such as $GOOG or $AAPL. I'm sure the StockTwits devs would dig it also (I am not affiliated with them). -Chad -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialists http://inuda.com Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology - http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter: http://twitter.com/madmotive
[twitter-dev] Re: Include $ as a searchable character
Jonathan, I believe Chad wants just the dollar sign. Searching on just $ will return an error, you must enter a query. And searching on $AAPL is really searched as AAPL as the dollar sign is stripped. I assume this is easy to enable, though technically challenging (to scale) as it requires an index on a single character. You'll notice searches for '@' and '#' return similar errors as they are not independently indexed either. @dougw (Sent from my mobile device) -Original Message- From: Jonathan Markwell j.l.markw...@inuda.com Date: Sat, 21 Feb 2009 01:08:31 To: twitter-development-talk@googlegroups.com Subject: [twitter-dev] Re: Include $ as a searchable character It is already: http://search.twitter.com/search?q=%24AAPL On Fri, Feb 20, 2009 at 8:38 PM, Chad Etzel jazzyc...@gmail.com wrote: Would it be possible to include $ as a searchable character, much like # is for hashtags? This would be handy for following stock related tweets where people conventionally prepend ticker symbols with $ such as $GOOG or $AAPL. I'm sure the StockTwits devs would dig it also (I am not affiliated with them). -Chad -- Jonathan Markwell Engineer | Founder | Connector Inuda Innovations Ltd, Brighton, UK Web application development support Twitter Facebook integration specialists http://inuda.com Providing a nice place to work in the heart of Brighton - http://theskiff.org Helping people make a difference with technology - http://inuda.org Measuring your brand's visibility on the social web - http://HowSociable.com mob: 07766 021 485 | tel: 01273 704 549 | fax: 01273 376 953 skype: jlmarkwell | twitter: http://twitter.com/madmotive
[twitter-dev] Re: Twitter IM: AIM, GTalk, Jabber, Etc..
Thanks for the clarification guys!
[twitter-dev] OAuth-like user experience examples
I uploaded two sets of screenshots today demonstrating an OAuth-like flow on the desktop and on the iPhone: iPhone: Flickit to Flickr http://wiki.oauth.net/Flickit-to-Flickr Desktop: iPhoto to Flickr http://wiki.oauth.net/Flickit-to-Flickr Would be happy to have a discussion about these current examples, especially in light of some of the recent feedback from Twitter devs [1][2]. Chris [1] http://blog.atebits.com/2009/02/fixing-oauth/ [2] https://twitter.pbwiki.com/oauth-desktop-discussion -- Chris Messina Citizen-Participant Open Web Advocate-at-Large factoryjoe.com # diso-project.org citizenagency.com # vidoop.com This email is: [ ] bloggable[X] ask first [ ] private
[twitter-dev] Re: Outdated API documentation refers to /archive?
Yep, the /archive page is gone. The user_timeline method basically replaces it, but you can only go back a certain number of tweets due to technical limitations (the number has escaped me, but it was 3000). Chris Thomson On Fri, Feb 20, 2009 at 11:19 PM, TjL luo...@gmail.com wrote: http://apiwiki.twitter.com/REST%20API%20Documentation#usertimeline says Returns the 20 most recent statuses posted from the authenticating user. It's also possible to request another user's timeline via the id parameter below. This is the equivalent of the Web /archive page for your own user, or the profile page for a third party. There is no longer an /archive page, correct? TjL
[twitter-dev] Re: OAuth-like user experience examples
Here is the iPhoto to Flickr link: http://wiki.oauth.net/iPhoto-to-Flickr On Fri, Feb 20, 2009 at 22:21, Jesse Stay jesses...@gmail.com wrote: How would a user verify against Phishing on a device like the iPhone if the apps are controlling the direct to the authenticating website? Jesse On Fri, Feb 20, 2009 at 8:54 PM, Chris Messina chris.mess...@gmail.comwrote: I uploaded two sets of screenshots today demonstrating an OAuth-like flow on the desktop and on the iPhone: iPhone: Flickit to Flickr http://wiki.oauth.net/Flickit-to-Flickr Desktop: iPhoto to Flickr http://wiki.oauth.net/Flickit-to-Flickr Would be happy to have a discussion about these current examples, especially in light of some of the recent feedback from Twitter devs [1][2]. Chris [1] http://blog.atebits.com/2009/02/fixing-oauth/ [2] https://twitter.pbwiki.com/oauth-desktop-discussion -- Chris Messina Citizen-Participant Open Web Advocate-at-Large factoryjoe.com # diso-project.org citizenagency.com # vidoop.com This email is: [ ] bloggable[X] ask first [ ] private -- Abraham Williams | http://the.hackerconundrum.com Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private.
[twitter-dev] TwitReport and my Intro to Twitter on the commandline scripts
What is a TwitReport? Well, you know the new follower emails that you get? They aren't very useful, are they? I mean it's nice to know that you've got a new follower, but it doesn't tell you anything about them. So what do you do? You could click on the page and see if they are someone you want to follow but -- Oops, look, they have their updates protected. Or all they post is links to their website about how to profit from the new social media scene. Etc. Wouldn't it be nice to get a quick look at their 'stats'? How many followers / friends / posts they have? When did they join Twitter? On average, how often do they post? How many of those posts, on average, are @replies? Did they post anything for their Bio, Location, or Website? Can I see their last 20 updates so I can see if they seem interesting? 1) Who else do they follow who I follow? 2) Who else follows them who I follow? 3) Who else follows both me and this new person? If they look like a spammer, how about showing me the Block URL? For that matter, why not show me their Twitter avatar/icon/picture, I might not recognize their name, but I might recognize their picture. Well, that's what TwitReport tells you, all right in your email, so you can look them over at your leisure, even on the go (the emails are formatted to work well on an iPhone [including the picture] and should work on other mobile devices as well). (You can find out more including how to use it at http://tr.im/twitreport and/or follow @twitreport at http://twitter.com/twitreport ) That's the What. The How is all done on the commandline, using standard Unix tools: curl, sed, grep, etc. In fact I've amassed a little collection of scripts designed to answer the question How to do basic things on Twitter via the commandline. What to see everyone who follows you who you don't follow? What to see everyone who you follow who doesn't follow you? Want to balance your followers, that is, follow everyone who is following you and unfollow everyone who isn't? Want to be able to favorite the last update that someone posted just by using their name? [*] I coded up a bunch of these, including some with no real practical use (Want to fav the last 20 posts that someone made?), some that can be easily re-used (validate that a given input is a real twitter user, convert a Twitter ID to a Twitter Name), along with the script that powers twitreport, and put them all up here http://twitreport.tntluoma.com/ in the hopes that they might be of some use to someone FWIW TjL [*] why? two reasons: 1) Twitterrific pops up, I can cmd+tab to Terminal and fav it on the commandline. NO MOUSE NEEDED. Also, 2) I can KNOW that it went through. My satellite connection is kinda flaky sometimes, so my script will read back the tweet that I fav'd to make sure that it was the right one and to confirm that it went through