Note/그밖에

twitter, facebook API error code

Delia :D 2012. 11. 22. 16:44


twitter API error code

https://dev.twitter.com/docs/error-codes-responses

HTTP Status Codes

CodeTextDescription
200OKSuccess!
304Not ModifiedThere was no new data to return.
400Bad RequestThe request was invalid. An accompanying error message will explain why. This is the status code will be returned during version 1.0 rate limiting. In API v1.1, a request without authentication is considered invalid and you will get this response.
401UnauthorizedAuthentication credentials were missing or incorrect.
403ForbiddenThe request is understood, but it has been refused or access is not allowed. An accompanying error message will explain why. This code is used when requests are being denied due to update limits.
404Not FoundThe URI requested is invalid or the resource requested, such as a user, does not exists. Also returned when the requested format is not supported by the requested method.
406Not AcceptableReturned by the Search API when an invalid format is specified in the request.
420Enhance Your CalmReturned by the version 1 Search and Trends APIs when you are being rate limited.
422Unprocessable EntityReturned when an image uploaded to POST account/update_profile_banner is unable to be processed.
429Too Many RequestsReturned in API v1.1 when a request cannot be served due to the application's rate limit having been exhausted for the resource. See Rate Limiting in API v1.1.
500Internal Server ErrorSomething is broken. Please post to the group so the Twitter team can investigate.
502Bad GatewayTwitter is down or being upgraded.
503Service UnavailableThe Twitter servers are up, but overloaded with requests. Try again later.
504Gateway timeoutThe Twitter servers are up, but the request couldn't be serviced due to some failure within our stack. Try again later.

facebook API error code

http://developers.facebook.com/docs/reference/api/errors/

codes

NameCodeRecovery TacticNote
OAuth190C unless a subcode is presentMost OAuth errors include a subcode. Use the subcode table to determine the correct recovery tactic.
API Session102C unless a subcode is presentMost OAuth errors include a subcode. Use the subcode table to determine the correct recovery tactic.
API Unknown1AServer-side problem; app should retry after waiting, up to some app-defined threshold
API Service2AServer-side problem; app should retry after waiting, up to some app-defined threshold
API Too Many Calls4AServer-side throttling; app should retry after waiting
API User Too Many Calls17AServer-side throttling; app should retry after waiting
API Permission Denied10DUser either has not granted a permission or removed a permission
API Permission (range)200-299DUser either has not granted a permission or removed a permission

subcodes

NameCodeRecovery TacticNote
App Not Installed458CUser removed the app from user settings
User Checkpointed459BUser needs to log onto www.facebook.com, or m.facebook.com
Password Changed460B (iOS 6) or COn iOS 6, if the user is authorized using integrated authentication, the user should be directed to Facebook settings on the device to set the new password; otherwise the user needs to reauthorize
Expired463CToken has expired and a new one needs to be requested
Unconfirmed User464BUser needs to log onto www.facebook.com, or m.facebook.com



'Note > 그밖에' 카테고리의 다른 글

OLPT 와 OLAP  (0) 2013.03.04
자바스크립트 물결 연산자(~)  (0) 2013.02.26
javascript :: isEmpty(), isNotEmpty() 함수 구현  (0) 2012.10.18
GET 방식 글자수 제한  (0) 2012.08.09
Windows7 스티커 메모 백업  (0) 2012.04.13