为什么我的MGTwitterEngine出现HTTP 401错误?

时间:2010-07-02 12:22:45

标签: objective-c oauth mgtwitterengine

经过与OAuthConsumer的长期斗争,修复方法名称等...我编译了MGTwitterEngine的演示,但是当我运行它时,应用程序在调试控制台中退出:

2010-07-02 14:15:29.896 MGTwitterEngine[2076:a0f] Connection finished C235E35F-8586-45EF-97C2-XXXXXXXXXXXXXXXXXX
2010-07-02 14:15:30.572 MGTwitterEngine[2076:a0f] Request failed for connectionIdentifier = F96C9CA4-3CA3-4F6D-A402-XXXXXXXXXXXXXXXXXX, error = The operation couldn’t be completed. (HTTP error 401.) ((null))
2010-07-02 14:15:30.572 MGTwitterEngine[2076:a0f] Connection finished F96C9CA4-3CA3-4F6D-A402-XXXXXXXXXXXXXXXXXX
2010-07-02 14:15:30.585 MGTwitterEngine[2076:a0f] Request failed for connectionIdentifier = 65112043-4ADD-40C0-A2C8-XXXXXXXXXXXXXXXXXX, error = The operation couldn’t be completed. (HTTP error 401.) ((null))
2010-07-02 14:15:30.586 MGTwitterEngine[2076:a0f] Connection finished 65112043-4ADD-40C0-A2C8-XXXXXXXXXXXXXXXXXX
2010-07-02 14:15:30.635 MGTwitterEngine[2076:a0f] Request failed for connectionIdentifier = 2D4E7B72-DCF2-4C48-9EC6-XXXXXXXXXXXXXXXXXX, error = The operation couldn’t be completed. (HTTP error 401.) ((null))
2010-07-02 14:15:30.635 MGTwitterEngine[2076:a0f] Connection finished 2D4E7B72-DCF2-4C48-9EC6-XXXXXXXXXXXXXXXXXX

任何人都可以帮助我吗?我正在使用HTTPS。

1 个答案:

答案 0 :(得分:0)

401错误表示您未获得此方法的授权。

首先尝试进行身份验证:)

首先,尝试使用public_timeline

等公共可访问方法