[twitter-dev] Re: OAUTH Feature currently disabled
Right now oauth/authorize also shows the This feature is temporarily disabled message. Guan On Wed, Apr 22, 2009 at 09:55, Abraham Williams 4bra...@gmail.com wrote: I believe this is an issue with using the recently oauth/authenticate feature. If you use oauth/authorize until Twitter gets it enabled you should be fine. On Wed, Apr 22, 2009 at 08:48, tweetalkr petewing...@gmail.com wrote: I have found the same thing. Feature disabled message. Until it is enabled again no one on my site can access Twitter. I am beginning to not like OAuth.
[twitter-dev] Re: [oAuth] Signature with GET Parameters
On Mon, Apr 20, 2009 at 11:16, max maxnet...@gmail.com wrote: All is working well with oAuth, normal GET requests, POST request with or without data. However GET requests with parameters do not work. (php, self written). I keep getting a Failed to validate oauth signature or token. This is the base signature string: GEThttp%3A%2F%2Ftwitter.com%2Fstatuses %2Freplies.jsonoauth_consumer_key%3DwHwEqxY9SGIzQfxUvsNkDw %26oauth_nonce%3D5548448e3b10dad18c3b38d8f7a9a9fa %26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp %3D1240240406%26oauth_token%3D14733270- Zers1INc93ugsxwtaTYow6tDqI9uYyPbsBEVyCGhw%26oauth_version%3D1.0%26count %3D2 How are you generating the signature base string? The parameters are supposed to be sorted by key, so count=2 should be at the beginning, before oauth_consumer_key. But that doesn't explain why your POSTs are okay. Guan
[twitter-dev] Re: oAUTH - can it be done without interaction with a core browser?
On Sun, Apr 19, 2009 at 14:37, Jeff Bishop jeff.bis...@gmail.com wrote: 1. Get all of the required items from the user outside of Twitter's interface? 2. Authenticate (like with basic auth of some type using XML posts)? 3. Be able to post back to get the token information. I'm not completely sure what you want, but you could do something like this: - Obtain a request token and secret. - Start up a browser and send the user to http://twitter.com/oauth/authorize - Display a button that says something like click here when you're done - When the user clicks that button, assume that you're authorized with Twitter, and make a request to obtain the access token. - If that's not the case, repeat the process. The point is that you don't really need any information back through the callback other than the fact that the user has completed the authorization process. But that can be accomplished simply by having the user click a button. If you are able to register URI schemes in the operating system that will launch your app, there is a different way of doing this. Suppose you've registered mycoolapp:// with the operating system. Then you can supply an oauth_callback parameter to http://twitter.com/oauth/authorize that looks something like this: mycoolapp://twitter-authorize-complete After successful authorization, Twitter will then redirect to something like mycoolapp://twitter-authorize-complete?oauth_token=xxxscreen_name=guanuser_id=1234other_params=values That way your app will automatically be launched after authorization and you can call access_token at that point. Guan
[twitter-dev] Re: Update API (with OAuth) failed on Unicode tweet
On Wed, Apr 15, 2009 at 07:35, Mario Menti mme...@gmail.com wrote: This issue [1] is marked fixed, but for some reason I still have problems with some characters: I have a status update that contains \xc2\xa0 (which I believe is Unicode representation of nbsp;), and trying to update the status with this always results in error 401. If I remove the \xc2\xa0 the update works fine. I'm using the Perl Net::OAuth CPAN module. The status is laconi.ca - a decentralised twitter: I#8217;ve just come across identi.ca,\xc2\xa0which on a first look appears to be jus.. ht tp://menti.net/?p=33 I was able to post this here: http://twitter.com/guan/status/1525625497 The non-breaking space is right after the colon; try to save the HTML and check in a hexdump ;-) Normalized query string: oauth_consumer_key=rNc2JuVC6NxELft2jXUQoauth_nonce=5614691C245EE261FB06ED7C1370974497oauth_signature_method=HMAC-SHA1oauth_timestamp=1239806575oauth_token=6631-AHu8rT9oznR3uUwHF7J99yU14s17D0vxR0OyKdRX54oauth_version=1.0status=a%20non-breaking%20space%3A%C2%A0wohoo Signature base string: POSThttp%3A%2F%2Ftwitter.com%2Fstatuses%2Fupdate.jsonoauth_consumer_key%3DrNc2JuVC6NxELft2jXUQ%26oauth_nonce%3D5614691C245EE261FB06ED7C1370974497%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1239806575%26oauth_token%3D6631-AHu8rT9oznR3uUwHF7J99yU14s17D0vxR0OyKdRX54%26oauth_version%3D1.0%26status%3Da%2520non-breaking%2520space%253A%25C2%25A0wohoo Guan
[twitter-dev] Re: Updating icon for OAuth applications
I tried again just a few seconds ago. I tested with both my applications, 1396 and 1798. Guan 2009/4/15 Doug Williams d...@twitter.com: Issue 374 [1] was supposed to fix this issue. When did you see this problem? 1. http://code.google.com/p/twitter-api/issues/detail?id=374 Doug Williams Twitter API Support http://twitter.com/dougw On Wed, Apr 15, 2009 at 12:56 AM, null zhm20070...@163.com wrote: hi Guan I have encounter this problem,but dont have solution for that 在2009-04-15,Guan Yang g...@yang.dk 写道: I have trouble updating the icon for my OAuth applications. I tried several different GIF and PNG files, much smaller than 700k and always get the error message: Your application was registered, but there was a problem with your application image. Probably too big. Has anyone else had this problem, or is it just that every image file on my computer is corrupted? Guan 网易邮箱,中国第一大电子邮件服务商 -- Mitch Hedberg - quot;I drank some boiling water because I wanted to whistle.quot; - http://www.brainyquote.com/quotes/authors/m/mitch_hedberg.html
[twitter-dev] Updating icon for OAuth applications
I have trouble updating the icon for my OAuth applications. I tried several different GIF and PNG files, much smaller than 700k and always get the error message: Your application was registered, but there was a problem with your application image. Probably too big. Has anyone else had this problem, or is it just that every image file on my computer is corrupted? Guan