개발/아이폰2011. 12. 21. 18:03



트위터 statuses/update 할때 Status is a duplicate. 를 체크하고 싶다면,

- 아이폰에서 MGTwitterEngine 쓰는 경우

https://github.com/jabley/MGTwitterEngine/compare/mattgemmell%3amaster…39-error-response-body

코드 수정 후 xml/hash/error 파싱하여 확인

- 안드로이드에서 Twitter4J 쓰는 경우

TwitterException 발생시 getErrorMessage 확인

- HTTP 403 에러 확인만으로는 중복인지 제한인지 구분할 수 없음.

https://dev.twitter.com/docs/api/1/post/statuses/update

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



Posted by dnsdud