Hi Andreas, oauth_nonce is a random value. Just make sure that it's random enough and it'll be fine.
There's no need to encrypt the password when using xAuth - if I am not mistaken, xAuth only allows https:// connections and these are encrypted enough. The token and secret are used to sign your requests to Twitter, to let Twitter verify that the request is actually coming from your application, and to verify the user (Although with xAuth the user part isn't available yet). Tom On 9/14/10 4:31 PM, andreas-wilkeme...@andreazw.de wrote: > Hello everyone, > > I have any problems to develop my desktop-Application with an own > Twitter Client. In my client to the user have the option to enter > their user data. I hope anyone can help me. > I have register an application on twitter and have get an Token_key > and token_secret after send a request to a...@twitter.com. > > > I read the documentation on http://dev.twitter.com/pages/xauth. > > Now I have a consumer-key, consumer_secret, token_key and > token_secret. > In the documentation there is a parameter who names "oauth_nonce". > Where can I get a key for this parameter. > > How should the password be transferred. Must it be encrypted? With a > particular procedure? (HMAC) > > When are token and seccret_token in use? > > > I using ActionScript 3.0. When I send a URLRequest with the example > from the documentation I will get an error. (Stream-Error). > > The following is a code example with the content from twitter > documentation: > > var url:String = "POST&https%3A%2F%2Fapi.twitter.com%2Foauth > %2Faccess_token&oauth_consumer_key%3DsGNxxnqgZRHUt6NunK3uw > %26oauth_nonce%3DWLxsobj4rhS2xmCbaAeT4aAkRfx4vSHX4OnYpTE77hA > %26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp > %3D1276101652%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth > %26x_auth_password%3D%2525%2526123%2521aZ%252B > %2528%2529456242134%26x_auth_username%3DtpFriendlyGiant"; > > var request:URLRequest = new URLRequest(url2); > var loader:URLLoader = new URLLoader(); > loader.addEventListener(Event.COMPLETE, onUrlComplete); > loader.addEventListener(IOErrorEvent.IO_ERROR, onError); > loader.load(request); > > > I am grateful for any help > > -- 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