[옛 글] [iOS] Twitter 프레임워크 사용시 참고할 사항
최초 작성일 : 2013/02/06 16:30
기존 방식의 OAuth와 Twitter API를 이용하여 트위터 서비스를 제공하다가
What about Direct Messages?
The Twitter framework cannot read or delete Direct Messages but it can send them. If your application requires the ability to read or delete Direct Messages, you must follow the traditional OAuth web flow to obtain the user’s permission. You should then use the returned access token and secret for future calls that require DM read permission.
문서 링크 : https://dev.twitter.com/docs/ios
즉, Twitter 프에임워크에서는 DM 목록을 불러오거나 DM을 삭제할 수 없으며 이 기능을
사용하고자 하면 기존 OAuth방식을 따라야 한다는 것이다.
조금 골치아파진 것이 DM 리스트 기능 하나 때문에 Twitter 프레임워크를 못쓰거나 아니면
Twitter 프레임워크과 기존 Twitter API를 함께 사용해야 한다는 것이다.
애초 목적은 앱 내에서 트위터 로그인을 하도록 된 부분을 없애고자 한 것이었는데...
이 상태라면 DM 목록 보기 기능을 빼지 않는 한 목적을 이룰 방법이 없어진다...ㅠ.ㅠ
애플, 트위터...누가 나쁜거냐...-.-