[twitter-dev] Android
What is the easiest way to make an Android app that allows people to update their Twitter status? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Profile Image Uploads return 200 OK but do not update
We are seeing a 200 OK when making profile image uploads via the API however the image either does not update or takes a long time to update (over an hour) on Twitter. I presume this is in relation to: http://status.twitter.com/post/3369948143/image-uploads-partially-disabled And: http://status.twitter.com/post/3365838637/cannot-update-profile-images-resolved Could someone confirm what the current status of Profile Image Uploads via the API is / the status of these issues, they have not been updated since Friday. Thanks, Bob Founder Twibbon.com -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
RE: [twitter-dev] Abridged summary of twitter-development-talk@googlegroups.com - 16 Messages in 9 Topics
OK, no rush. We have time. Thanks, Bob From: twitter-development-talk@googlegroups.com [mailto:twitter-development-t...@googlegroups.com] On Behalf Of twitter-development-talk+nore...@googlegroups.com Sent: Wednesday, January 12, 2011 6:41 PM To: Abridged Recipients Subject: [twitter-dev] Abridged summary of twitter-development-talk@googlegroups.com - 16 Messages in 9 Topics Today's Topic Summary Group: http://groups.google.com/group/twitter-development-talk/topics * xAuth request returns 401, need help [1 Update] * Using OAuth Echo [1 Update] * t.co Posting Questions [3 Updates] * Search Twitter Feed from a group of Twitters [4 Updates] * Return number of tweets in a Search [1 Update] * Twitter Feed Javascript [1 Update] * ~25% loss rate Streaming API vs. Search API [1 Update] * Twitter feed for corporate website/portal [3 Updates] * Twitter's mobile oauth page waits 10 seconds before redirecting [1 Update] Topic: xAuth request returns 401, need help http://groups.google.com/group/twitter-development-talk/t/a3afa0144d4850d7 Eric Will eric.w...@heavy-iron.com Jan 12 11:55AM -0800 ^ Was the cause of the empty response body ever discovered? I'm having a similar issue, except my 401 response body has Content-Length: 1 containing an empty space . On Nov 19 2010, more... http://groups.google.com/group/twitter-development-talk/msg/d5f1f38a11c9b7a b Topic: Using OAuth Echo http://groups.google.com/group/twitter-development-talk/t/7ecb923529232174 Matt Harris thematthar...@twitter.com Jan 12 12:14PM -0800 ^ Hi Gabe, We have a page about OAuth Echo on our Developer Resources site: http://dev.twitter.com/pages/oauth_echo Let us know if you have any questions which arise from it, Best more... http://groups.google.com/group/twitter-development-talk/msg/3a9043a0ba4e707 e Topic: t.co Posting Questions http://groups.google.com/group/twitter-development-talk/t/6844e1db8e432bec David E. Wheeler da...@kineticode.com Jan 12 10:58AM -0800 ^ On Dec 18, 2010, at 5:17 PM, David E. Wheeler wrote: Currently the API does not shorten the links for you yet. In the future Twitter may implement this, but currently you will have to shorten more... http://groups.google.com/group/twitter-development-talk/msg/a3e7de5ec972d34 Abraham Williams 4bra...@gmail.com Jan 12 11:41AM -0800 ^ I would not recommend using it yet but Twitter for Mac is using the endpoint /urls/shorten.json?url=http://example.com http://t.co/6wD3idD Abraham - Abraham Williams | Hacker more... http://groups.google.com/group/twitter-development-talk/msg/5caaad0f7e85156 9 David E. Wheeler da...@kineticode.com Jan 12 12:18PM -0800 ^ On Jan 12, 2011, at 11:41 AM, Abraham Williams wrote: I would not recommend using it yet but Twitter for Mac is using the endpoint /urls/shorten.json?url=http://example.com more... http://groups.google.com/group/twitter-development-talk/msg/ccec61914c2152a d Topic: Search Twitter Feed from a group of Twitters http://groups.google.com/group/twitter-development-talk/t/ebe5fde96beac2c5 Abhi abhishek2j...@gmail.com Jan 11 10:13PM -0800 ^ Hi, I am New to the Twitter search API and was wondering if someone can please help me on where to find some guidance on how to use Twitter Search API to find tweets from a group of twitters. more... http://groups.google.com/group/twitter-development-talk/msg/d7ed9da0306a998 Mauro Asprea mauroasp...@gmail.com Jan 12 09:30AM +0100 ^ Hi you can take a look at http://dev.twitter.com/doc ;) -- Mauro Sebastián Asprea E-Mail: mauroasp...@gmail.com Mobile: +34 654297582 Skype: mauro.asprea Algunos hombres ven las cosas more... http://groups.google.com/group/twitter-development-talk/msg/20649102138f22d 6 Abhi abhishek2j...@gmail.com Jan 12 10:22AM -0800 ^ Thanks. I looked at it but It just allows me to search for twitter feed from one user. I want to be able to search for twitter feed from multiple users at once. more... http://groups.google.com/group/twitter-development-talk/msg/567e9d042cfaf72 c Taylor Singletary taylorsinglet...@twitter.com Jan 12 12:01PM -0800 ^ There are no search within a set capabilities really in the Twitter API or Search API. There are a few approaches you can take, but all of them defer the search part of operation to you and more... http://groups.google.com/group/twitter-development-talk/msg/c39f611a49acdc7 b Topic: Return number of tweets in a Search http://groups.google.com/group/twitter-development-talk/t/e42c5e009f331568 Steve wastedho...@gmail.com Jan 12 04:39AM -0800 ^ Hi, I'm developing an application using the Twitter Ruby gem in Rails, and was wondering whether there was a way to return the number of tweets containing a certain hashtag? I'm looking to more... http://groups.google.com/group/twitter-development-talk/msg/d367435b4c887c3 2 Topic: Twitter Feed Javascript http
[twitter-dev] Use twitterapi.update method to my own account via .net web app without human intervention
I have an application that maintains sport fields playing status. When it rains, I'd like to update my account to show the closures via my .net application. Problem is when using oAuth, I must sign in to allow the app access to my Twitter account. Is there any way that oAuth can do this without needing this step. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Use twitterapi.update method to my own account via .net web app without human intervention
Update: I was using TwitterVB.GetAuthorizationLink() and when I changed to GetAuthenticationLink(), it worked. On Oct 7, 3:45 pm, bob bobkoon...@gmail.com wrote: I have an application that maintains sport fields playing status. When it rains, I'd like to update my account to show the closures via my .net application. Problem is when using oAuth, I must sign in to allow the app access to my Twitter account. Is there any way that oAuth can do this without needing this step. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Using @Anywhere under SSL
I agree its a real limit to an otherwise highly convenient product. Seems easy enough to get akamai to use the right ssl cert. Is there some other technical snafu here or is this just an administrative item you haven't gotten to yet? I'd vote to bump it up in priority if its the latter. Cheers, Bob On Sep 22, 7:03 am, Justin justin.realw...@gmail.com wrote: It is a shame Cassie, I'm having to use OAuth - more flexability but would be nice to have the simplicity of Anywhere On Sep 21, 8:37 pm, Cassie Lynn cassie.schwendi...@gmail.com wrote: yet? Do we have any way of knowing when this might happen? And thanks for asking this here Justin! I asked on @anywhere and no one has replied (it has been almost a week). Thanks! - Cassie On Sep 20, 5:00 am, Tom van der Woerdt i...@tvdw.eu wrote: FYI, there's a Mailing List specifically for @Anywhere. The list you mailed to is the API developer list. http://groups.google.com/group/twitter-dev-anywhere To answer your question: no, there's no SSL version (yet). Tom On Mon, 20 Sep 2010 02:53:05 -0700 (PDT), Justin justin.realw...@gmail.com wrote: I would love to use the Connect with Twitter @Anywhere function but I would need to use it in a secure enviroment - that is under SSL. I first tried this when @Anywhere was first launched adn gave up thinking that perhaps it's a little too early? Having recently returned to it, I was disapointed to discover that the situation doesn't seem to have changed. Does anyone know if this is possible? Simply adding an s to http://platform.twitter.com/anywhere.jsdoesn'twork, I wonder if there's another unpublished URL, or if Twitter have any plans to impliment this. I'd prefer to use @Anywhere over oAuth, but may not have a choice :-( Thanks Justin -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] understanding data returned in arrays.
Hi everyone, I am struggling a bit to find the right API reference that explains how to work with the data that is returned from an expression like $content = $connection-get('friends/ids', array('screen_name' = 'bobaiello')); where get is shown below (as in Abraham William's excellent examples). I am struggling with understanding: 1. how to parse the array returned in $connection 2. how to implement a curser to get the next batch of responses (twitter seems to give me the first thousand only) 3. is the array one dimensional or a more complex structure (print_r leads me to believe the latter) any help or pointing me in the right direction would be greatly appreciated. Bob http://www.linkedin.com/in/BobAiello twitter: bobaiello, cmbestpractices, yellowspiderinc /** * GET wrapper for oAuthRequest. */ function get($url, $parameters = array()) { $response = $this-oAuthRequest($url, 'GET', $parameters); echo mytest =.$response; if ($this-format === 'json' $this-decode_json) { return json_decode($response); } return $response; } -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Re: Problems Loading Profile Images
We are also seeing that the issue with profile image updates returning a 200OK but not updating the image has returned. Please advise if you are aware of the problem / if you are working on it. Bob Founder Twibbon.com On Jul 23, 2:28 am, Ron rbther...@gmail.com wrote: So it looks like the problem is back, and perhaps time sensitive. Servers affected are a0, a1, and a3.twing.com. Problem is no response from server. URLs all look ok, but a few perhaps very long (i.e.http://a3.twimg.com/profile_images/598514017/l_58bce087ff00416383ca2b...). On Jul 22,e 6:36 pm, Ron rbther...@gmail.com wrote: Hi Taylor, Tried again this afternoon and operation appears normal, except for an occasionalprofileimage not loading. I find about 1 out of 200. An example is hiro07118. Ron On Jul 22, 10:42 am, Ron rbther...@gmail.com wrote: Right now it all seems back to working normally again. I'll look at it again late this afternoon about the same time I saw the issue yesterday. Perhaps it's time related. If it occurs again, I'll take some captures and send them along. On Jul 22, 10:29 am, Taylor Singletary taylorsinglet...@twitter.com wrote: If possible, can you send along member ids or screen names, and if possible, an HTTP capture of the image download attempt? Thanks! Taylor On Wed, Jul 21, 2010 at 8:12 PM, Ron rbther...@gmail.com wrote: Same problem seems to be back - slow/noprofileimage downloads. On Jul 21, 3:14 pm, Ron rbther...@gmail.com wrote: Not seen it happen at all anymore since corrections were made. On Jul 21, 2:08 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Everyone, We had some issues withprofileupdates and image uploads last week and early this week. Some images uploaded in that time period resulted in incorrect image URLs, and while this should now be fixed for more recently updated/created images, those with avatars saved while in this state will likely remain in that state until they re-upload their image. What kind of percentages are you seeing in regards to missing/broken images? Taylor On Wed, Jul 21, 2010 at 5:35 AM, luisg luisfmgoncal...@gmail.com wrote: I'm having the same problem too... But just sometimes. Anyway, looks like Twitter is better now... At least is not so slow as was a couple of weeks ago. On Jul 21, 4:59 am, Ron rbther...@gmail.com wrote: Anyone noticing problems loadingprofileimages (slow, no image returned, hanging...)? Seems to show up mostly on Public and Search endpoints.
[twitter-dev] Updating profile image results in 200OK but does not update image
We are seeing this issue again. When we make a profile image update the call returns 200OK but the image on Twitter is not actually updated. Please advise, we have a number of users complaining about this issue. Thanks, Bob Founder Twibbon.com
[twitter-dev] update_profile_image is returning 200OK but not updating Profile Image
We are again seeing behaviour where update_profile_image is returning a 200OK but the image is not updated on Twitter. This happened last week and was fixed under Issue 1745: http://code.google.com/p/twitter-api/issues/detail?id=1745 But it has just reappeared. Behaviour is very slightly different in that the previous profile image remains in place rather than becoming a broken image. Request and response shown below. Thanks, Bob Founder Twibbon.com --REQUEST: http://api.twitter.com POST /1/account/update_profile_image.json HTTP/1.1 Authorization: OAuth oauth_consumer_key=cmrjngkKmoHNaSG1OfWFA,oauth_token=57184902- BgSM4dVrnqDsPyFXmU2lYwsAzb406dVWMQMU6YwWE,oauth_nonce=81r7llydmekc186w,oauth_timestamp=1279545055,oauth_signature_method=HMAC- SHA1,oauth_signature=9MkFOvvVxEmQZcyJUvSEOSF0na4%3D,oauth_version=1.0 Content-Type: multipart/form-data; boundary=ab0fd378-4c1f-445f- aa8e-45488c90256d --ab0fd378-4c1f-445f-aa8e-45488c90256d Content-Disposition: file; name=image; filename=5e55681f-878e-46bd- a584-57fcfaf4b52b.png Content-Type: image/png [FILE DATA][System.Text.Latin1Encoding] --ab0fd378-4c1f-445f-aa8e-45488c90256d-- --RESPONSE: http://api.twitter.com/1/account/update_profile_image.json HTTP/1.1 200 OK Date: Mon, 19 Jul 2010 13:10:55 GMT Server: hi Status: 200 OK X-Transaction: 1279545055-84509-57740 ETag: b089d0f3bb2c84ad1283361318917271 Last-Modified: Mon, 19 Jul 2010 13:10:55 GMT X-Runtime: 0.10970 Content-Type: application/json; charset=utf-8 Content-Length: 1340 Pragma: no-cache X-Revision: DEV Expires: Tue, 31 Mar 1981 05:00:00 GMT Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Set-Cookie: k=84.19.234.238.1279545055076066; path=/; expires=Mon, 26- Jul-10 13:10:55 GMT; domain=.twitter.com,guest_id=127954505542692657; path=/; expires=Wed, 18 Aug 2010 13:10:55 GMT,lang=en; path=/,_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNQY1OopAToHaWQiJTMyOWI4OGU1MjFmNTg3%250AZTllNzNhOTQxYjVlOGVkNjQ3IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA-- da8b247094aedfa91e96f6b9fc02dbc701228e41; domain=.twitter.com; path=/ Vary: Accept-Encoding Connection: close {statuses_count: 327,profile_sidebar_border_color:87bc44,description:,location:,profile_use_background_image:true,followers_count: 31,status: {contributors:null,coordinates:null,truncated:false,source:a href=\http://twibbon.com\; rel=\nofollow\Twibbon/ a,created_at:Mon Jul 19 13:04:30 + 2010,geo:null,in_reply_to_screen_name:null,favorited:false,in_reply_to_status_id:null,place:null,id: 18914185988,in_reply_to_user_id:null,text:Support #natsuniji_blue, add a #twibbon to your avatar now! - http://twb.ly/9rgeFs},contributors_enabled:false,friends_count:30,geo_enabled:false,profile_background_color:9ae4e8,lang:en,favourites_count:0,created_at:Thu Jul 16 00:18:19 + 2009,verified:false,profile_text_color:00,follow_request_sent:false,notifications:false,time_zone:null,following:false,profile_link_color:ff,protected:false,profile_background_image_url:http:// a1.twimg.com/profile_background_images/123041250/ df10e21c-5216-4fcb-80f5-e2962b764d6f.jpg,profile_image_url:http:// a2.twimg.com/profile_images/1079636046/30f17041-0f8c-4031-b0fd- d1bdcf043ad1_normal.png,name:Bob Thomson,profile_sidebar_fill_color:e0ff92,url:null,id: 57184902,profile_background_tile:false,utc_offset:null,screen_name:jpfette}
[twitter-dev] Re: Is Twitter oAuth broken?
It would appear that Twitter oAuth is down across the board. We are getting 500 errors for all calls to: http://api.twitter.com/oauth/access_token Since 18:20 UTC. Presumably this is what is meant by the update to the issue on the status blog: Update (11:20 PST, 18:20 UTC): oAuth tokens are also affected by this; we continue to work to resolve the issue. TwitPic, yFrog, TweetDeck - all similarly effected. Obviously very frustrating. Bob Founder Twibbon.com On Jul 19, 8:00 pm, nischalshetty nischalshett...@gmail.com wrote: Alright, it is oAuth issues, checked the twitter status here -http://status.twitter.com/post/832539693/users-cannot-update-profiles -Nischal On Jul 19, 11:55 pm, nischalshetty nischalshett...@gmail.com wrote: My apps getting 'user has not given permission' and this is by the hundreds! I presume the oAuth API is having issues!
[twitter-dev] Re: Updating profile image via API results in broken image on Twitter.com
FYI, new uploads via the API appear to be working now. Existing uploads that were made during the down period are still showing as broken on Twitter.com. On Jul 14, 6:34 pm, Bob movingforwa...@gmail.com wrote: Thanks Matt, I have added what we know to the ticket. Will update if we find anything else. On Jul 14, 6:25 pm, Matt Harris thematthar...@twitter.com wrote: Thanks for bringing this to our attention. It's definately not the correct behavior so we'll get somebody looking into this today. I've noticed uploading avatars through the website seems to be working fine so the issue seems isolated to the REST API. I have filed a ticket on our issue tracker [1] which we'll update with any news and recommend you go there and star the issue so you get the email notifications. Best, Matt 1.http://code.google.com/p/twitter-api/issues/list?thanks=1745 On Wed, Jul 14, 2010 at 10:02 AM, Bob movingforwa...@gmail.com wrote: Thanks @RayF glad to know we're not alone in the wilderness here. Our entire service is based around this function so as you can imagine our users are screaming loudly at present. What you describe is almost exactly the same as we are seeing other than the fact we are usually able to upload PNG images. To reiterate: Calls to update_profile_image return a 200 OK Images uploaded to Amazon S3 by Twitter When the new image is shown on profiles it is broken When trying to view one of these images in a browser e.g: http://a0.twimg.com/profile_images/1078075804/8e9ccddf-ccd0-4ca2-9b66... Firefox reports The image cannot be displayed becuase it contains errors IE reports a 403 (access denied) Looking at the HTTP request for the image using Fiddler shows that S3 is returning: ?xml version=1.0 encoding=UTF-8? ErrorCodeAccessDenied/CodeMessageAccess Denied/ MessageRequestId44DCE9951E7DD003/ RequestIdHostIdNhYnE6GUTSxSl8Ku3/ gCZvUNeMEhcbB8rbAg7qhbqqjaYDZCsnWnUryg8w16qvNh/HostId/Error Which can sometimes happen if the ACL permissions are set incorrectly (or at least not to public) on S3. I've not heard anything from Twitter yet on the issue, looks like they have their hands somewhat full at the moment. Thanks, Bob On Jul 14, 5:47 pm, RayF rfrank...@airportview.net wrote: I see the same thing - a good response from the API, but the actual image is missing on the web pages. The file name is correctly processed and saved - but no image. If I upload the same image via the Settings, Profile page, everything works fine. These results are very consistent. I first observed the failure at 8 am MDT on 7/14/2010. By the way, I have never been able to upload a PNG via the API, only JPG or GIF. Ray Franklin Avionics Specialists LLC On Jul 14, 5:45 am, Bob movingforwa...@gmail.com wrote: Whenever we update someones profile image using the API (from Twibbon.com) it is resulting in a broken image on Twitter.com even though the API is returning a HTTP 200 OK. The request and response looks like: --REQUEST:http://api.twitter.com POST /1/account/update_profile_image.json HTTP/1.1 Authorization: OAuth oauth_consumer_key=cmrjngkKmoHNaSG1OfWFA,oauth_token=57184902- BgSM4dVrnqDsPyFXmU2lYwsAzb406dVWMQMU6YwWE,oauth_nonce=tvx5owtqfawild73,oauth_timestamp=1279107191,oauth_signature_method=HMAC- SHA1,oauth_signature=5GP911M9Ej %2FZV4O8VGRAU272aT8%3D,oauth_version=1.0 Content-Type: multipart/form-data; boundary=e750bd87-3bee-4a19-98e6-55fb254283ef --e750bd87-3bee-4a19-98e6-55fb254283ef Content-Disposition: file; name=image; filename=jpfette.png Content-Type: image/png [FILE DATA][System.Text.Latin1Encoding] --e750bd87-3bee-4a19-98e6-55fb254283ef-- --RESPONSE:http://api.twitter.com/1/account/update_profile_image.json HTTP/1.1 200 OK Date: Wed, 14 Jul 2010 11:33:12 GMT Server: hi Status: 200 OK X-Transaction: 1279107192-63482-30103 ETag: 23eefa77c91e270e9d96507216e06334 Last-Modified: Wed, 14 Jul 2010 11:33:12 GMT X-Runtime: 0.05593 Content-Type: application/json; charset=utf-8 Content-Length: 1332 Pragma: no-cache X-Revision: DEV Expires: Tue, 31 Mar 1981 05:00:00 GMT Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Set-Cookie: k=84.19.234.238.1279107192043086; path=/; expires=Wed, 21- Jul-10 11:33:12 GMT; domain=.twitter.com,guest_id=127910719241063792; path=/; expires=Fri, 13 Aug 2010 11:33:12 GMT,lang=en; path=/,_twitter_sess=BAh7CToPY3JlYXRlZF9hdGwrCGPWutApAToRdHJhbnNfcHJvbXB0MDoHaWQi %250AJTFhNDgxMDkzYjk4NDhhZDkxOTNlNTM0YTE4YTM3OWM4IgpmbGFzaElDOidB %250AY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--1622471acd43e84d39724f9f168f573c7fc8de4a; domain=.twitter.com; path=/ Vary: Accept-Encoding Connection: close
[twitter-dev] Re: Profile image uploads not working (using twitter-async)
We've been experiencing this issue since yesterday see: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/bd560e9866081639 And: http://code.google.com/p/twitter-api/issues/detail?id=1745 For more info. Looks like they just fixed it for new uploads but any uploads made during the period are still broken. Not sure if they will be able to fix that aspect or not (although it does look like the image is there in Amazon S3, just that the permissions on it are wrong). Thanks, Bob Founder Twibbon.com On Jul 15, 6:35 am, Jaanus jaa...@gmail.com wrote: I have a similar problem. I am trying to upload a profile image with the API with OAuth authentication. I get a 200 response and a valid response body, indicating a path likehttp://a1.twimg.com/profile_images/1078800125/myProfileImage_normal.jpg in the response for the uploaded image. However, when I try to access this URL, I get HTTP 403 Forbidden. Is this expected in the current state of things, or is the problem on my client side? J On Jun 15, 8:12 am, Taylor Singletary taylorsinglet...@twitter.com wrote: The image upload facilities at Twitter are in need of some love (and are being worked on!) -- they'll often throw a 500 error and actually update the image, or show a 500 error and not update the image.. it should, in general, function better and more reliably in the near future. The current site issues make it sometimes difficult to have clarity on how something failed, and at what stage. Taylor Singletary Developer Advocate, Twitterhttp://twitter.com/episod On Tue, Jun 15, 2010 at 7:00 AM, Roy Tanck roy.ta...@gmail.com wrote: I'm trying to upload profile images using oAuth. This basically works (I get the right return data, no errors), except that the image is not updated. Sending tweets through the same library does work, so this probably isn't an authentication issue. As per the twitter-async documentation, I'm using: $twitterObj-post('/account/update_profile_image.json', array('@image' = '@'.$img_path)); $img_path is the correct path (+filename) for the file, I've checked the folder name using phpinfo, used a test image, etc. Since I'm not getting errors, this issue is very hard to troubleshoot from my end. Suggestions on how to tackle this very welcome. (More info on twitter-async is here: http://github.com/jmathai/twitter-async , on sending images here http://wiki.github.com/jmathai/twitter-async/#multipart)
[twitter-dev] Updating profile image via API results in broken image on Twitter.com
Whenever we update someones profile image using the API (from Twibbon.com) it is resulting in a broken image on Twitter.com even though the API is returning a HTTP 200 OK. The request and response looks like: --REQUEST: http://api.twitter.com POST /1/account/update_profile_image.json HTTP/1.1 Authorization: OAuth oauth_consumer_key=cmrjngkKmoHNaSG1OfWFA,oauth_token=57184902- BgSM4dVrnqDsPyFXmU2lYwsAzb406dVWMQMU6YwWE,oauth_nonce=tvx5owtqfawild73,oauth_timestamp=1279107191,oauth_signature_method=HMAC- SHA1,oauth_signature=5GP911M9Ej %2FZV4O8VGRAU272aT8%3D,oauth_version=1.0 Content-Type: multipart/form-data; boundary=e750bd87-3bee-4a19-98e6-55fb254283ef --e750bd87-3bee-4a19-98e6-55fb254283ef Content-Disposition: file; name=image; filename=jpfette.png Content-Type: image/png [FILE DATA][System.Text.Latin1Encoding] --e750bd87-3bee-4a19-98e6-55fb254283ef-- --RESPONSE: http://api.twitter.com/1/account/update_profile_image.json HTTP/1.1 200 OK Date: Wed, 14 Jul 2010 11:33:12 GMT Server: hi Status: 200 OK X-Transaction: 1279107192-63482-30103 ETag: 23eefa77c91e270e9d96507216e06334 Last-Modified: Wed, 14 Jul 2010 11:33:12 GMT X-Runtime: 0.05593 Content-Type: application/json; charset=utf-8 Content-Length: 1332 Pragma: no-cache X-Revision: DEV Expires: Tue, 31 Mar 1981 05:00:00 GMT Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Set-Cookie: k=84.19.234.238.1279107192043086; path=/; expires=Wed, 21- Jul-10 11:33:12 GMT; domain=.twitter.com,guest_id=127910719241063792; path=/; expires=Fri, 13 Aug 2010 11:33:12 GMT,lang=en; path=/,_twitter_sess=BAh7CToPY3JlYXRlZF9hdGwrCGPWutApAToRdHJhbnNfcHJvbXB0MDoHaWQi %250AJTFhNDgxMDkzYjk4NDhhZDkxOTNlNTM0YTE4YTM3OWM4IgpmbGFzaElDOidB %250AY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--1622471acd43e84d39724f9f168f573c7fc8de4a; domain=.twitter.com; path=/ Vary: Accept-Encoding Connection: close You can see the broken image on: http://twitter.com/jpfette As you can imagine this is causing us a serious problem at present, any help would be greatly appreciated. Thanks, Bob Founder Twibbon.com
[twitter-dev] Re: Updating profile image via API results in broken image on Twitter.com
Thanks @RayF glad to know we're not alone in the wilderness here. Our entire service is based around this function so as you can imagine our users are screaming loudly at present. What you describe is almost exactly the same as we are seeing other than the fact we are usually able to upload PNG images. To reiterate: Calls to update_profile_image return a 200 OK Images uploaded to Amazon S3 by Twitter When the new image is shown on profiles it is broken When trying to view one of these images in a browser e.g: http://a0.twimg.com/profile_images/1078075804/8e9ccddf-ccd0-4ca2-9b66-8eea6dab27e5_bigger.png Firefox reports The image cannot be displayed becuase it contains errors IE reports a 403 (access denied) Looking at the HTTP request for the image using Fiddler shows that S3 is returning: ?xml version=1.0 encoding=UTF-8? ErrorCodeAccessDenied/CodeMessageAccess Denied/ MessageRequestId44DCE9951E7DD003/ RequestIdHostIdNhYnE6GUTSxSl8Ku3/ gCZvUNeMEhcbB8rbAg7qhbqqjaYDZCsnWnUryg8w16qvNh/HostId/Error Which can sometimes happen if the ACL permissions are set incorrectly (or at least not to public) on S3. I've not heard anything from Twitter yet on the issue, looks like they have their hands somewhat full at the moment. Thanks, Bob On Jul 14, 5:47 pm, RayF rfrank...@airportview.net wrote: I see the same thing - a good response from the API, but the actual image is missing on the web pages. The file name is correctly processed and saved - but no image. If I upload the same image via the Settings, Profile page, everything works fine. These results are very consistent. I first observed the failure at 8 am MDT on 7/14/2010. By the way, I have never been able to upload a PNG via the API, only JPG or GIF. Ray Franklin Avionics Specialists LLC On Jul 14, 5:45 am, Bob movingforwa...@gmail.com wrote: Whenever we update someones profile image using the API (from Twibbon.com) it is resulting in a broken image on Twitter.com even though the API is returning a HTTP 200 OK. The request and response looks like: --REQUEST:http://api.twitter.com POST /1/account/update_profile_image.json HTTP/1.1 Authorization: OAuth oauth_consumer_key=cmrjngkKmoHNaSG1OfWFA,oauth_token=57184902- BgSM4dVrnqDsPyFXmU2lYwsAzb406dVWMQMU6YwWE,oauth_nonce=tvx5owtqfawild73,oauth_timestamp=1279107191,oauth_signature_method=HMAC- SHA1,oauth_signature=5GP911M9Ej %2FZV4O8VGRAU272aT8%3D,oauth_version=1.0 Content-Type: multipart/form-data; boundary=e750bd87-3bee-4a19-98e6-55fb254283ef --e750bd87-3bee-4a19-98e6-55fb254283ef Content-Disposition: file; name=image; filename=jpfette.png Content-Type: image/png [FILE DATA][System.Text.Latin1Encoding] --e750bd87-3bee-4a19-98e6-55fb254283ef-- --RESPONSE:http://api.twitter.com/1/account/update_profile_image.json HTTP/1.1 200 OK Date: Wed, 14 Jul 2010 11:33:12 GMT Server: hi Status: 200 OK X-Transaction: 1279107192-63482-30103 ETag: 23eefa77c91e270e9d96507216e06334 Last-Modified: Wed, 14 Jul 2010 11:33:12 GMT X-Runtime: 0.05593 Content-Type: application/json; charset=utf-8 Content-Length: 1332 Pragma: no-cache X-Revision: DEV Expires: Tue, 31 Mar 1981 05:00:00 GMT Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Set-Cookie: k=84.19.234.238.1279107192043086; path=/; expires=Wed, 21- Jul-10 11:33:12 GMT; domain=.twitter.com,guest_id=127910719241063792; path=/; expires=Fri, 13 Aug 2010 11:33:12 GMT,lang=en; path=/,_twitter_sess=BAh7CToPY3JlYXRlZF9hdGwrCGPWutApAToRdHJhbnNfcHJvbXB0MDoHaWQi %250AJTFhNDgxMDkzYjk4NDhhZDkxOTNlNTM0YTE4YTM3OWM4IgpmbGFzaElDOidB %250AY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--1622471acd43e84d39724f9f168f573c7fc8de4a; domain=.twitter.com; path=/ Vary: Accept-Encoding Connection: close You can see the broken image on: http://twitter.com/jpfette As you can imagine this is causing us a serious problem at present, any help would be greatly appreciated. Thanks, Bob Founder Twibbon.com
[twitter-dev] Re: Updating profile image via API results in broken image on Twitter.com
Thanks Matt, I have added what we know to the ticket. Will update if we find anything else. On Jul 14, 6:25 pm, Matt Harris thematthar...@twitter.com wrote: Thanks for bringing this to our attention. It's definately not the correct behavior so we'll get somebody looking into this today. I've noticed uploading avatars through the website seems to be working fine so the issue seems isolated to the REST API. I have filed a ticket on our issue tracker [1] which we'll update with any news and recommend you go there and star the issue so you get the email notifications. Best, Matt 1.http://code.google.com/p/twitter-api/issues/list?thanks=1745 On Wed, Jul 14, 2010 at 10:02 AM, Bob movingforwa...@gmail.com wrote: Thanks @RayF glad to know we're not alone in the wilderness here. Our entire service is based around this function so as you can imagine our users are screaming loudly at present. What you describe is almost exactly the same as we are seeing other than the fact we are usually able to upload PNG images. To reiterate: Calls to update_profile_image return a 200 OK Images uploaded to Amazon S3 by Twitter When the new image is shown on profiles it is broken When trying to view one of these images in a browser e.g: http://a0.twimg.com/profile_images/1078075804/8e9ccddf-ccd0-4ca2-9b66... Firefox reports The image cannot be displayed becuase it contains errors IE reports a 403 (access denied) Looking at the HTTP request for the image using Fiddler shows that S3 is returning: ?xml version=1.0 encoding=UTF-8? ErrorCodeAccessDenied/CodeMessageAccess Denied/ MessageRequestId44DCE9951E7DD003/ RequestIdHostIdNhYnE6GUTSxSl8Ku3/ gCZvUNeMEhcbB8rbAg7qhbqqjaYDZCsnWnUryg8w16qvNh/HostId/Error Which can sometimes happen if the ACL permissions are set incorrectly (or at least not to public) on S3. I've not heard anything from Twitter yet on the issue, looks like they have their hands somewhat full at the moment. Thanks, Bob On Jul 14, 5:47 pm, RayF rfrank...@airportview.net wrote: I see the same thing - a good response from the API, but the actual image is missing on the web pages. The file name is correctly processed and saved - but no image. If I upload the same image via the Settings, Profile page, everything works fine. These results are very consistent. I first observed the failure at 8 am MDT on 7/14/2010. By the way, I have never been able to upload a PNG via the API, only JPG or GIF. Ray Franklin Avionics Specialists LLC On Jul 14, 5:45 am, Bob movingforwa...@gmail.com wrote: Whenever we update someones profile image using the API (from Twibbon.com) it is resulting in a broken image on Twitter.com even though the API is returning a HTTP 200 OK. The request and response looks like: --REQUEST:http://api.twitter.com POST /1/account/update_profile_image.json HTTP/1.1 Authorization: OAuth oauth_consumer_key=cmrjngkKmoHNaSG1OfWFA,oauth_token=57184902- BgSM4dVrnqDsPyFXmU2lYwsAzb406dVWMQMU6YwWE,oauth_nonce=tvx5owtqfawild73,oauth_timestamp=1279107191,oauth_signature_method=HMAC- SHA1,oauth_signature=5GP911M9Ej %2FZV4O8VGRAU272aT8%3D,oauth_version=1.0 Content-Type: multipart/form-data; boundary=e750bd87-3bee-4a19-98e6-55fb254283ef --e750bd87-3bee-4a19-98e6-55fb254283ef Content-Disposition: file; name=image; filename=jpfette.png Content-Type: image/png [FILE DATA][System.Text.Latin1Encoding] --e750bd87-3bee-4a19-98e6-55fb254283ef-- --RESPONSE:http://api.twitter.com/1/account/update_profile_image.json HTTP/1.1 200 OK Date: Wed, 14 Jul 2010 11:33:12 GMT Server: hi Status: 200 OK X-Transaction: 1279107192-63482-30103 ETag: 23eefa77c91e270e9d96507216e06334 Last-Modified: Wed, 14 Jul 2010 11:33:12 GMT X-Runtime: 0.05593 Content-Type: application/json; charset=utf-8 Content-Length: 1332 Pragma: no-cache X-Revision: DEV Expires: Tue, 31 Mar 1981 05:00:00 GMT Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Set-Cookie: k=84.19.234.238.1279107192043086; path=/; expires=Wed, 21- Jul-10 11:33:12 GMT; domain=.twitter.com,guest_id=127910719241063792; path=/; expires=Fri, 13 Aug 2010 11:33:12 GMT,lang=en; path=/,_twitter_sess=BAh7CToPY3JlYXRlZF9hdGwrCGPWutApAToRdHJhbnNfcHJvbXB0MDoHaWQi %250AJTFhNDgxMDkzYjk4NDhhZDkxOTNlNTM0YTE4YTM3OWM4IgpmbGFzaElDOidB %250AY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--1622471acd43e84d39724f9f168f573c7fc8de4a; domain=.twitter.com; path=/ Vary: Accept-Encoding Connection: close You can see the broken image on: http://twitter.com/jpfette As you can imagine this is causing us a serious problem at present, any help would be greatly appreciated. Thanks, Bob Founder Twibbon.com -- Matt Harris Developer Advocate, Twitterhttp://twitter.com
[twitter-dev] SMS Notifications
Can anyone confirm if there are ongoing issues with users registering new devices or if anyone has had reports of users being sent SMS messages even when they have SMS notifications turned off? We're seeing several reports of the first and isolated reports of the second from our users. Thanks, Bob -- Founder, Twibbon.com
[twitter-dev] Re: FW: Twitter is Suing me!!!
Oh come on, you're just being disingenous now. First they came for the pedophiles First they came for the muderers Today's society is to worried about offending someone to acknowledge the fact that YES there are univseral rights and universal wrongs. That is not to say that there isn't a difference between premeditated murder and self defense but it is perfectly acceptable to say that Premeditated Murder is ALWAYS wrong, even if for some reason it isn't illegal. In this case spamming is ALWAYS wrong. Again you need to allow for definitions. Asking to receive announcements from Dell and then having Dell follow you is on thing. But having someone autofollow you with 800 different PC resellers becasue you posted a tweet saying look at the great deal #Dell has today is WRONG. Emotional and personal beliefs SHOULD have a place in legal context and largely do in our society (read up on Jury nullification if you're interested) As another extreme example: Datamining Myspace (if it's possible I've never worked with it) for 12 year olds names and addresses etc... COULD have a purposeful use in advertising but if your $12 product is being used by 99% of people to find children to attack then your product is WRONG and needs to come off the market. On Wed, Aug 12, 2009 at 11:31 AM, Charlescharles.r.dil...@gmail.com wrote: I love how in this discussion people keep trying to bring emotion and personal beliefs into a legal context. So he made a tool for spammers. What does that have to do with anything? First they came for the Spammers and I didn’t speak up, because I wasn’t a Spammer. *SNIP*
[twitter-dev] Rate limit question (again/followup) 20k user or ip?
Since we have a lot of devs monitoring this now I'd like to bring back the discussion that we were having before this whole mess started. Is the intention of Twitter to allow (for whitelisted IP's) 20k requests per hour per USER or 20k requests per hour per IP. I don't want to seem to be beating a dead horse and Chad has confirmed this but it still seems like there's quite a bit on contention. Thanks -Bob
[twitter-dev] Re: New blocks still happening
We are having the same issue. Everything came back online OK after the DDoS but about an hour ago one of our whitelisted servers got banned. I've taken this server out of the loop but we've only got a limited number of whitelisted IPs so I don't know how long this will last. Can't find any information on any of the relevant websites, blogs or twitter accounts which is quite frustrating, although I appreciate that the team at Twitter has had a long hard day. Any additional info welcome, Bob Twibbon.com On Aug 7, 2:16 am, Jesse Stay jesses...@gmail.com wrote: This is also another nick against OAuth. My users can't even log in right now because we're relying on OAuth for login. Jesse On Thu, Aug 6, 2009 at 8:45 PM, Dewald Pretorius dpr...@gmail.com wrote: I have seen the same thing. So, if you have white listed IPs that are still showing a rate limit of 20,000, DO NOT use them right now. After a few minutes of use their rate limits are cut down to 150 per hour. Dewald On Aug 6, 8:58 pm, Tinychat tinycha...@gmail.com wrote: So, like everyone else I was receiving 408's from all our production servers. Wasnt sure what was causing it, but it turned out to be that twitter is blocking the IPs. Ok, must be related to the ddos stuff from earlier on- Must have gotten caught in the crossfire. So I go ahead and use some development servers to start sending requests- All is fine, for about a hour. They are blocked now. So to anyone out there, there is no point using a new IP- It will get blocked within a hour or so. I guess we have to wait for twitters host to fix it, or use actionscript/ajax to have the end user request the data himself (Which is what I am going to do) so its always a unique IP
[twitter-dev] Rate Limiting Question
From the Rate Limiting documentation: 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. Therefore, IP-based whitelisting is a best practice for applications that request many users' data. Say for example I wanted to simply replicate the twitter website. One page per user that just monitors for new statuses with authenticated (to catch protected users) calls to http://twitter.com/statuses/friends_timeline.json Say I was very popular and had 20k people on the site. Would this limit me to 1 call per minute per user or would it fall over to the user limit of 150 an hour once I hit my 20k? If so how can I tell it has fallen over besides for simply keeping track of the number of calls per hour my server has made. Thanks -Bob
[twitter-dev] Re: Account Verify Credentials
I hate to bump this as it were but does anyone have any insight? Thanks, Bob On Tue, Aug 4, 2009 at 1:45 AM, Bob Fishelb...@bobforthejob.com wrote: From the api documentation: Because this method can be a vector for a brute force dictionary attack to determine a user's password, it is limited to 15 requests per 60 minute period (starting from your first request). Is this per user? ie: if my server queries user A and gets credentials verified ok after 14 other users verify am I locked out or is it just after 15 tries for the same user? The former would seem illogical but I just want to make sure... Thanks, Bob
[twitter-dev] Account Verify Credentials
From the api documentation: Because this method can be a vector for a brute force dictionary attack to determine a user's password, it is limited to 15 requests per 60 minute period (starting from your first request). Is this per user? ie: if my server queries user A and gets credentials verified ok after 14 other users verify am I locked out or is it just after 15 tries for the same user? The former would seem illogical but I just want to make sure... Thanks, Bob
[twitter-dev] Re: Updating the APIs authentication limiting policy
Hi Doug, Is there a timescale for rolling back / making the change to the new scheme? We're just putting the finishing touches to moving to OAuth and we're experiencing the issue when using verify_credentials to get the users basic details once we've got the token back from the authentication process. We're experiencing the issue when: 1. Testing our login and authentication processes 2. When users login and logout of our application frequently A heads up on when these changes will be made would be useful. Thanks, Bob On Jul 29, 6:37 pm, Grant Emsley grant.ems...@gmail.com wrote: Locked out of authenticated resources for that account, or will that IP not be able to login to any account? On Jul 29, 1:14 pm, Doug Williams d...@twitter.com wrote: Ray,For clarity, we will roll back the current restriction of 15 calls per user per hour to account/verify_credentials, and implement the proposed scheme: ... we will limit the total number of unsuccessful attempts to access authenticated resources to 15 an hour per user per IP address. If a single IP address makes 15 attempts to access a protected resource unsuccessfully for a given user (as indicated by an HTTP 401), then the user will be locked out of authenticated resources from that IP address for 1 hour. Thanks, Doug On Wed, Jul 29, 2009 at 9:51 AM, Ray rvizz...@testlabs.com wrote: Doug, I'm in a similar situation as that voiced by TinBlue. This change has affected our iPhone App. We also want to encourage you to rollback this change ASAP. When you say This approach is what we are going to take., do you mean rolling back the fix so as not to affect multiple, successful, authorized logins? I'm hopeful that this approach means that our apps will not be affected yet again by changing to a new auth approach. I appreciate you all keeping this thread informed. Ray On Jul 27, 11:23 am, Doug Williams d...@twitter.com wrote: Thanks to everyone who has contributed feedback. This approach is what we are going to take. Alex will be making this change shortly. I will update this thread when there is timeframe to share. Thanks, Doug On Mon, Jul 27, 2009 at 7:52 AM, TinBlue tinb...@gmail.com wrote: What is happening? This rollback is taking far too long for something that has affected a lot of people! On Jul 25, 2:32 pm, Dewald Pretorius dpr...@gmail.com wrote: Doug, I would prefer to adopt OAuth instead of writing code for Basic Auth. So, you guys need to move OAuth out of public beta into full production sooner rather than later. :-) I manage 100,000+ Twitter accounts, and I simply cannot take on the support workload of answering user tickets when there's a snag with OAuth beta. I monitor these forums and the API Issues and still see too many OAuth issues being reported to give me a level of comfort that I can safely switch over to OAuth. On Jul 24, 5:46 pm, Doug Williams d...@twitter.com wrote: Well said Joshua. Dewald, you have identified the risk of using basic authentication. If your users being locked out due to malicious behavior, you should either implement further user-level rate limiting on your side or adopt OAuth. Are there any other glaring omissions in our thinking or should we proceed with this as our solution? Thanks, Doug On Fri, Jul 24, 2009 at 11:08 AM, Joshua Perryj...@6bit.com wrote: Jim's concern is valid, fortunately OAuth is immune to brute-force attacks once the access key has been issued to an application. For this reason alone I would urge people to switch to OAuth if at all possible. I would hope (and assume) that if login attempts for an account are locked out that a user would still be able to successfully use an already authorized OAuth driven application. Unfortunately allowing a successful un/pw login while an account is locked out even when the correct password is presented effectively bypasses the whole reason for a lockout in the first place, preventing brute-force password attempts. If an attacker used a dictionary or brute-force attack and the account was locked out after 15 attempts, then they could continue trying even though the system replied locked out; if they eventually sent the correct password it would just bypass the lockout and they would then know the correct password. Perhaps Twitter could implement a selective captcha, I know they are annoying but if executed properly it could be effective protection against brute-force and dictionary attacks. Say after 3
[twitter-dev] Twitter JS implementation
Can anyone recommend a javascript api implementation (anything that already has a jquery plugin would be a bonus but not necessary) The few I've seen don't allow statuses.update which is a nessecity for me. Thanks
[twitter-dev] Re: Twitter JS implementation
Workin on it now. Details in a bit. On Wed, Jul 29, 2009 at 8:01 PM, shiplushiplu@gmail.com wrote: Why not start building one if there is not any. :P -- A K M Mokaddim http://talk.cmyweb.net http://twitter.com/shiplu Stop Top Posting !! বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল Sent from Dhaka, Bangladesh
[twitter-dev] This is a really dumb question. How can I get back to my application information page
So i registered an application to learn the ins and outs of the twitter api for a personal project, but I clicked off the page and now I can't figure out how to get back to change my applications settings and get my keys. I have honestly looked everywhere I can think of to try and get back to this page, and my google-fu is failing. Any help is appreciated. Thanks -Bob
[twitter-dev] Change callback url?
How can I change my callback URL?