[twitter-dev] Re: Can the Twitter API call me?
some events like 'new follower' generate an email message - you can build a listener to react to those emails. there's even some useful twitter headers included so you don't have to parse the message body. Bob On Sep 12, 1:24 am, Duncan dun...@therecoveryplace.net wrote: Does Twitter have something in place where i can build a litener app that Twitter can HTTP/POST to when a new follower follows me or someone sends me a direct message, etc? Duncan
[twitter-dev] Re: non json response
I just had one non-json response, in the middle of about 10 requests made with curl -vvv (other responses were correct) Below are 3 requests and the non-json response bracketted by 2 good responses which contain the response time and other logging data. HTH Rudi rudolf-farkass-macbook-pro:TwitterWeb rudifarkas$ curl -vvv http://twitter.com/users/show/rudifa.json * About to connect() to twitter.com port 80 (#0) * Trying 168.143.161.20... connected * Connected to twitter.com (168.143.161.20) port 80 (#0) GET /users/show/rudifa.json HTTP/1.1 User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3 Host: twitter.com Accept: */* HTTP/1.1 200 OK Date: Sun, 13 Sep 2009 09:45:23 GMT Server: hi X-RateLimit-Limit: 150 X-Transaction: 1252835123-2408-31139 Status: 200 OK ETag: df090f6c8147e20ba7fe81315a66b9af Last-Modified: Sun, 13 Sep 2009 09:45:23 GMT X-RateLimit-Remaining: 124 Content-Type: application/json; charset=utf-8 Pragma: no-cache Content-Length: 1176 Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 Expires: Tue, 31 Mar 1981 05:00:00 GMT X-Revision: a62881015b2c2fb6f795bf931bd56bd494f37254 X-RateLimit-Reset: 1252836853 Set-Cookie: lang=en; path=/ Set-Cookie: _twitter_sess=BAh7CDoRdHJhbnNfcHJvbXB0MDoHaWQiJWU5OGQyZmU3NWVkY2RhZjhkYTk5%250ANTBlNTA4OTk0MzhhIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFz %250AaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--66931156c75554797fc576876bdec52dc705736e; domain=.twitter.com; path=/ Vary: Accept-Encoding Connection: close * Closing connection #0 {profile_sidebar_border_color:BDDCAD,description:Wrote firmware for world-class osciloscopes for many years. Now learning iPhone programming tricks. Loves skiing.,url:null,screen_name:rudifa,status: {in_reply_to_status_id:null,favorited:false,in_reply_to_user_id:null,source:a href=\http://apiwiki.twitter.com/\; rel=\nofollow\API/ a,created_at:Thu Sep 10 16:49:49 + 2009,in_reply_to_screen_name:null,id: 3890997267,truncated:false,text:De retour de la T\u00eate de Parmelan},following:null,verified:false,profile_text_color:33,followers_count: 9,profile_background_image_url:http://a1.twimg.com/ profile_background_images/17762518/ DSC01211-63-2.jpeg,created_at:Thu Apr 30 22:42:35 + 2009,notifications:null,friends_count: 29,profile_link_color:0084B4,profile_background_tile:false,favourites_count: 0,profile_background_color:9AE4E8,protected:false,time_zone:Bern,location:Geneva,name:Rudi Farkas,profile_sidebar_fill_color:DDFFCC,id: 36797542,statuses_count:52,utc_offset: 3600,profile_image_url:http://a1.twimg.com/profile_images/311858510/ me-bsp-6a_normal.png} rudolf-farkass-macbook-pro:TwitterWeb rudifarkas$ curl -vvv http://twitter.com/users/show/rudifa.json * About to connect() to twitter.com port 80 (#0) * Trying 168.143.161.20... connected * Connected to twitter.com (168.143.161.20) port 80 (#0) GET /users/show/rudifa.json HTTP/1.1 User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3 Host: twitter.com Accept: */* HTTP/1.0 200 OK Connection: Close Pragma: no-cache cache-control: no-cache Refresh: 0.1 Content-Type: text/html; charset=iso-8859-1 !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/ TR/1999/REC-html401-19991224/strict.dtd !-- !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; -- HTML HEAD META HTTP-EQUIV=Refresh CONTENT=0.1 META HTTP-EQUIV=Pragma CONTENT=no-cache META HTTP-EQUIV=Expires CONTENT=-1 TITLE/TITLE /HEAD BODYP/BODY /HTML * Closing connection #0 rudolf-farkass-macbook-pro:TwitterWeb rudifarkas$ curl -vvv http://twitter.com/users/show/rudifa.json * About to connect() to twitter.com port 80 (#0) * Trying 168.143.161.20... connected * Connected to twitter.com (168.143.161.20) port 80 (#0) GET /users/show/rudifa.json HTTP/1.1 User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3 Host: twitter.com Accept: */* HTTP/1.1 200 OK Date: Sun, 13 Sep 2009 09:45:35 GMT Server: hi X-RateLimit-Limit: 150 X-Transaction: 1252835135-57410-29384 Status: 200 OK ETag: df090f6c8147e20ba7fe81315a66b9af Last-Modified: Sun, 13 Sep 2009 09:45:35 GMT X-RateLimit-Remaining: 123 Content-Type: application/json; charset=utf-8 Pragma: no-cache Content-Length: 1176 Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 Expires: Tue, 31 Mar 1981 05:00:00 GMT X-Revision: a62881015b2c2fb6f795bf931bd56bd494f37254 X-RateLimit-Reset: 1252836853 Set-Cookie: lang=en; path=/ Set-Cookie: _twitter_sess=BAh7CDoRdHJhbnNfcHJvbXB0MDoHaWQiJWY0NDM0ODQ3YWI2NDk5OTg4OTY3%250AYWQ1ZjU5Njg3OWIwIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFz %250AaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA-- d454f0c630e2e82ace19b7056947734184aea7ed; domain=.twitter.com; path=/ Vary: Accept-Encoding Connection: close * Closing connection #0 {profile_sidebar_border_color:BDDCAD,description:Wrote firmware for world-class
[twitter-dev] Re: 401 errors when retrieving statuses of Verified accounts.
When using OAuth, I get a 401 Incorrect signature error when doing a statuses/friends_timeline.json?count=1 it works fine without the count parameter. however /statuses/user_timeline.json?count=1 works perfectly. Can somebody confirm? regards, Prashanth On Sat, Sep 12, 2009 at 11:38 PM, Chad Etzel c...@twitter.com wrote: Hmm, this should not be the case. Is anyone else seeing this issue? If you continue to see this, please create an issue here: http://code.google.com/p/twitter-api/issues/list Thanks, -Chad On Fri, Sep 11, 2009 at 3:34 PM, Heathmaxim...@gmail.com wrote: Our application has been getting 401 errors when attempting to cache tweets from the new Verified Accounts. This includes accounts like Mashable (http://twitter.com/mashable). We are using the user_timeline.xml method, and get the 401 when using a white-listed account to avoid default rate limits. Is this no longer possible when using a whitelist account, or is there another method without this restriction?
[twitter-dev] Paging STILL broken
PLEASE, can someone on the API team let us know when the paging bug(s) with followers/ids (and friends/ids) will be addressed? There have been problems with it for weeks, but now it's just downright broken. We can't get lists of followers for users with large numbers of followers. That's a basic, fundamental API feature that's just BROKEN. There's a reproduced, accepted, high priority bug against this issue in the issues area, starred by many, and we've had neither a fix, nor a comment as to whether it's even being addressed. I need to know that I can expect problems with the platform's basic functionality to be resolved within a reasonable time-frame. This is killing my business development efforts. If Twitter wants people to build businesses on this platform, they HAVE to support it. PLEASE guys, give us something. Don't make me throw away months of work and go focus on something unrelated to Twitter.
[twitter-dev] Re: following-each-other ???????
the first request is figuring out the relation between the users http://apiwiki.twitter.com/Twitter-REST-API-Method:-friendships-show and the second request to send the direct message but it seams the the only solution as Abraham Williams said If you don't wan't to make 2 API calls just try sending the DM and if it fails then you know there is no friendship there. but i this irritate me and the user who see sending message ... and then see Oops you can't send direct msg, may be he don't follow you On Sep 13, 6:43 am, JDG ghil...@gmail.com wrote: What would that tag do to prevent needing 2 requests? On Sat, Sep 12, 2009 at 18:07, mostafa farghaly keepon...@gmail.com wrote: hi guys i think we need this tag to send direct messages easily, as far as i know i can send direct messages to the buddies i follow and they follow me in the same time , and there's now direct way to know this info from the user info tag, i don't want to make two request: one for making sure they follow each other and one to send the direct message :( . -- Internets. Serious business.
[twitter-dev] Re: Paging STILL broken
Waldron, Thanks for the email. I am working with our team internally to track down the issue and figure out how to resolve it. I will get back to you with an update shortly, but know that we are listening and working on this. Best, Ryan On Sun, Sep 13, 2009 at 8:55 AM, Waldron Faulkner waldronfaulk...@gmail.com wrote: PLEASE, can someone on the API team let us know when the paging bug(s) with followers/ids (and friends/ids) will be addressed? There have been problems with it for weeks, but now it's just downright broken. We can't get lists of followers for users with large numbers of followers. That's a basic, fundamental API feature that's just BROKEN. There's a reproduced, accepted, high priority bug against this issue in the issues area, starred by many, and we've had neither a fix, nor a comment as to whether it's even being addressed. I need to know that I can expect problems with the platform's basic functionality to be resolved within a reasonable time-frame. This is killing my business development efforts. If Twitter wants people to build businesses on this platform, they HAVE to support it. PLEASE guys, give us something. Don't make me throw away months of work and go focus on something unrelated to Twitter.
[twitter-dev] Twitter Background
Hello, I need to create a custom Twitter background. What are the dimensions for it and the allowed maximum size or the size you advice? Does the background repeats horizontal and vertically? What are the options? Thanks, Miguel
[twitter-dev] 403 Forbidden on statuses/update.xml
Hello, Sorry I don't have full curl responses, but I haven't been able to reproduce via curl.. The below is from our logs as the response to a statuses/update.xml request. It looks like twitter is overloaded and is attempting to redirect to 503.html but permissions for that file are not set correctly so it is returning a 403 in response to the request.. This is happening fairly frequently right now when requests to post come through the server, but I am still working on reproducing with a curl output. httpRequest Failed - 403 - /statuses/update.xml !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN htmlhead title403 Forbidden/title /headbody h1Forbidden/h1 pYou don't have permission to access /503.html on this server./p /body/html
[twitter-dev] Kudos to Matthias Kaeppler for signpost Open Authentication Java library
My website (http://twxlate.com) now supports Open Authentication with twitter, and it was way easier than I expected, thanks to the signpost library from Matthias Kaeppler. It took me longer to convert the code I already had for Basic Authentication to Apache Http Components 4.x than it did to subsequently add Open Authentication support. The signpost library is well documented, and works as documented. I enthusiastically endorse it and recommend it to anyone that is looking for a Open Authentication Java library. Again, kudos to Matthias. And, a very, very big thanks! I suppose that now that the web-site could create tweets with their source listed as twxlate rather than API, I'll have to actually support creating tweets and DMs. :-) Jim
[twitter-dev] Re: Kudos to Matthias Kaeppler for signpost Open Authentication Java library
I agree, i've been using signpost with clojure and it is great! On Sep 13, 10:46 pm, jim.renkel james.ren...@gmail.com wrote: My website (http://twxlate.com) now supports Open Authentication with twitter, and it was way easier than I expected, thanks to the signpost library from Matthias Kaeppler. It took me longer to convert the code I already had for Basic Authentication to Apache Http Components 4.x than it did to subsequently add Open Authentication support. The signpost library is well documented, and works as documented. I enthusiastically endorse it and recommend it to anyone that is looking for a Open Authentication Java library. Again, kudos to Matthias. And, a very, very big thanks! I suppose that now that the web-site could create tweets with their source listed as twxlate rather than API, I'll have to actually support creating tweets and DMs. :-) Jim
[twitter-dev] Re: Twitter Background
I don't know what the max dimensions are, but the picture will repeat horizontally and vertically (though that might be configurable, but I set my background image info a long time ago and don't remember all the details right now). - h On Sun, Sep 13, 2009 at 17:47, shapper mdmo...@gmail.com wrote: Hello, I need to create a custom Twitter background. What are the dimensions for it and the allowed maximum size or the size you advice? Does the background repeats horizontal and vertically? What are the options? Thanks, Miguel
[twitter-dev] Re: Twitter Background
The backgrounds can repeat if you want them to, they tile I think. I don't think that there is a size limit, just anything under 5MB should work. On Sun, Sep 13, 2009 at 7:47 PM, shapper mdmo...@gmail.com wrote: Hello, I need to create a custom Twitter background. What are the dimensions for it and the allowed maximum size or the size you advice? Does the background repeats horizontal and vertically? What are the options? Thanks, Miguel -- - Adam Shannon ( http://ashannon.us )