In the long term we plan to add internal error codes to every non 2**
response so that the consumer can unambiguously know what error they got
without munging error message strings (who's language might be changed
innocently not knowing the consequences).
On Mon, Dec 14, 2009 at 2:42 PM, Mark McBride <mmcbr...@twitter.com> wrote:
> The body of the response allows you to differentiate these two codes, e.g.
> curl -u<credentials> -XPOST -d ""
> <?xml version="1.0" encoding="UTF-8"?>
> <error>Could not follow user: atebits is already on your list.</error>
> On Mon, Dec 14, 2009 at 2:38 PM, shiplu <shiplu....@gmail.com> wrote:
> > There are two phrases about friendships/create.
> > 1. If you are already friends with the user an HTTP 403 will be
> > 2. This method is subject to update limits. An HTTP 403 will be
> > returned if this limit as been hit.
> > How to differ those two status codes?
> >  http://help.twitter.com/forums/10711/entries/15364
> > --
> > A K M Mokaddim
> > My talks, http://talk.cmyweb.net
> > Follow me, http://twitter.com/shiplu
> > Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
Twitter Platform Team