How to login with Digits User of Twitter kit in Objective-C

佐手、 提交于 2019-12-12 03:13:42

问题


I am using Digits User of Twitter kit in IOS app.

but I am getting the following error now.

Guest authentication failed:

Error Domain=TwitterAPIErrorDomain Code=200 "Request failed: forbidden (403)" UserInfo=0x7fccca7e1850 {NSErrorFailingURLKey=https://api.twitter.com/1.1/guest/activate.json, NSLocalizedDescription=Request failed: forbidden (403), NSLocalizedFailureReason=Twitter API error : Forbidden. (code 200)} [Twitter] Your app may not be enabled for guest authentication. Please contact support@fabric.io to upgrade your consumer key. Digits error: Error Domain=TwitterAPIErrorDomain Code=215 "Request failed: bad request (400)" UserInfo=0x7fccca6eede0 {NSErrorFailingURLKey=https://api.twitter.com/1.1/device/register.json, NSLocalizedDescription=Request failed: bad request (400), NSLocalizedFailureReason=Twitter API error : Bad Authentication data. (code 215)}

please help me

Thanks.


回答1:


I had similar problem You should use keys generated by Fabric. Go to your Fabric dashboard -> Digits

Use those keys in your app




回答2:


I had this error just in one device. Testing same app in other device, with the same iOS version and in the simulator didn't get any error.

Uninstalling the app and installing it again was the solution.



来源:https://stackoverflow.com/questions/29365616/how-to-login-with-digits-user-of-twitter-kit-in-objective-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!