This project is read-only.

Incorrect signature error

Oct 18, 2007 at 7:06 PM
Hi all,

I'm getting error regarding Incorrect signature in xml payload that is returned once I login.
This is the line for signature building :
hash = md5.ComputeHash(Encoding.Default.GetBytes(signatureBuilder.ToString().Trim()));

I've pasted xml below.. .any clues??

<?xml version="1.0" encoding="UTF-8" ?>
- <error_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd">
<errorcode>104</errorcode>
<errormsg>Incorrect signature</errormsg>
- <request_args list="true">
- <arg>
<key>method</key>
<value>auth.getSession</value>
</arg>
- <arg>
<key>auth_token</key>
<value>#######################</value>
</arg>
- <arg>
<key>api_key</key>
<value>#######################</value>
</arg>
- <arg>
<key>v</key>
<value>1.0</value>
</arg>
- <arg>
<key>call_id</key>
<value>##########</value>
</arg>
- <arg>
<key>sig</key>
<value>#########################</value>
</arg>
</request_args>
</error_response>


Thanks
Rajiv