Created By
Ian Lin
07/23/2012 11:31am

Subscribers (2)

Tags

BugsError message on Like API calls

  • Status: Fixed
  • Priority: High
  • Updated: July 25, 2012 at 3:31pm
Latest response from Facebook
Sean Quinlan
This should now be resolved. Thanks for your patience.
Status changed to Fixed
Sean Quinlan
Thanks for the report. We will follow up.
Status changed to Triaged · Priority changed to High
With the following API call:


FB.api(id + '/likes', ‘post’, function (resp) {
console.log(resp);
});

We are getting this error message frequently
/**/ FB._callbacks.__gcb4({"error":{"message":"Trying Too Often: You are attempting this too often. Please try again later.","type":"OAuthException","code":368}});

Here's the detailed response:
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Mon, 23 Jul 2012 17:40:32 GMT"
},
{
"name": "WWW-Authenticate",
"value": "OAuth \"Facebook Platform\" \"access_denied\" \"Trying Too Often: You are attempting this too often. Please try again later.\""
},
{
"name": "X-FB-Rev",
"value": "594580"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Content-Length",
"value": "164"
},
{
"name": "Pragma",
"value": "no-cache"
},
{
"name": "X-FB-Debug",
"value": "hkZ8XhdFBg/CIhZf4CBFvs2fhUwNECrkD/VcAm41EvA="
},
{
"name": "Content-Type",
"value": "text/javascript; charset=UTF-8"
},
{
"name": "Access-Control-Allow-Origin",
"value": "*"
},
{
"name": "Cache-Control",
"value": "no-store"
},
{
"name": "Expires",
"value": "Sat, 01 Jan 2000 00:00:00 GMT"
}
],

Is this the right way to use the API call? If not, what's a better way?
3 people can reproduce this issue by following these steps
Repro