4

经过与 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。

4

1 回答 1

0

401 错误意味着您无权使用此方法。

尝试先进行身份验证:)

首先,尝试使用公共可访问的方法,如 public_timeline

于 2011-05-07T20:03:43.293 回答