Thanks for Replying Guys!

Taylor, Why was it necessary to generate generate other keys ?

And Tom (or Taylor) I'm using consumerSecret because at session : "Example
request for an xAuth request token", this key is listed in the request keys.
So, is this example "depracated" ?

Another doubt. After generating  OAuth signature base string I didn't
understand how to generate oauth_signature
based on that string..... I'm using some as3 crypto methods to do it , but I
really don't know what keys combinations to use
to generate the correct oauth_signature.

I'm using the xAuth documentation example.

var signString:String = "POST&
 var hmac:HMAC =  Crypto.getHMAC("sha1");

var key:ByteArray = Hex.toArray(
Hex.fromString(encodeURIComponent(consumerKey) + "&" +
var data:ByteArray = Hex.toArray( Hex.fromString( signString ) );
var sha:String = Base64.encodeByteArray( hmac.compute( key, data ) );
params.oauth_signature = encodeURIComponent(sha);


Twitter developer documentation and resources:
API updates via Twitter:
Issues/Enhancements Tracker:
Change your membership to this group:

Reply via email to