简体   繁体   中英

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

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.

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

Use those keys in your app

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM