The signature in each API call is quite simple to generate. It is automatically generated in the PHP API library.
To create the signature, you need to take the current POST string.
For example:
method=games.get&v=0.3&consumer_key=123abc&format=xml&nonce=123456789×tamp=193920129
You then concatenate the consumer_secret key to the end of this
method=games.get&v=0.3&consumer_key=123abc&format=xml&nonce=123456789×tamp=193920129consumersecretihavemadeup
...and MD5 hash the result.
8f8fb2b257a0a6721f88d955c85eac29
Then you send this through as a parameter named sig and attach it to the end of your original POST string:
method=games.get&v=0.3&consumer_key=123abc&format=xml&nonce=123456789×tamp=193920129&sig=8f8fb2b257a0a6721f88d955c85eac29
This is your new POST string.
© 2012 NewHaze Icons by Pixel Mixer Help