tags:

views:

126

answers:

0

Hello all im trying to invoke the Notifications.getList api but no matter how i send the parameters im getting error 101 for example : Item Url:http://api.facebook.com/restserver.php?start_time=4294967295&session_key=a99fdd8150a8xxxxx65c2-10000xxx455&method=Notifications.getList&include_read=true

<error_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="htt
  <error_code>101</error_code>
  <error_msg>Invalid API key</error_msg>
  <request_args list="true">
    <arg>
      <key>start_time</key>
      <value>4294967295</value>
    </arg>
    <arg>
      <key>session_key</key>
      <value>a99fdd8150a8xxxxx65c2-10000xxx455</value>
    </arg>
    <arg>
      <key>method</key>
      <value>Notifications.getList</value>
    </arg>
    <arg>
      <key>include_read</key>
      <value>true</value>
    </arg>
  </request_args>
</error_response>

Or this : http://api.facebook.com/restserver.php? … &v=1.0

<error_code>104</error_code>
<error_msg>Incorrect signature</error_msg>
<request_args list="true">
  <arg>
    <key>api_key</key>
    <value>zzzzzzzb2d1dae57811</value>
  </arg>
  <arg>
    <key>start_time</key>
    <value>4294967295</value>
  </arg>
  <arg>
    <key>call_id</key>
    <value>2</value>
  </arg>
  <arg>
    <key>session_key</key>
    <value>zzzzzzz3185865c2-100000521112455</value>
  </arg>
  <arg>
    <key>sig</key>
    <value>zzzzzzz625357ab2e262ee1fd</value>
  </arg>
  <arg>
    <key>format</key>
    <value>XML</value>
  </arg>
  <arg>
    <key>method</key>
    <value>Notifications.getList</value>
  </arg>
  <arg>
    <key>v</key>
    <value>1.0</value>
  </arg>
</request_args>
<error_response>

what im doing wrong here ?

related questions