Twitter 请求令牌在 iOS 上无效 [英] Twitter request token invalid on iOS

查看:49
本文介绍了Twitter 请求令牌在 iOS 上无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Twitter+OAuth,它使用 MGTwitterEngine 和 SAOAuthTwitterEngine.

I am using Twitter+OAuth which uses MGTwitterEngine and SAOAuthTwitterEngine.

我的应用程序在模拟器中运行良好,在 iPhone/iPod 上,我只有 iOS 5 可以在设备上进行测试,但我已经设置了我的代码,以便如果系统中没有 Twitter 帐户,或者应用无法使用它,它使用此后备".

My app works great in the simulator, and on iPhone / iPod, I've only got iOS 5 to test on devices but I've set up my code so that if there is no twitter account in the system, or the app cannot use it, it uses this "fallback".

问题是我收到以下错误消息:

The problem is I am getting the following error message:

此页面的请求令牌无效.[...]"

"The request token for this page is invalid. [...]"

请注意,这是在我们甚至开始使用 OAuth 或任何 API 之前......这发生在弹出的模式 Web 视图中,该视图会通过您的登录名授权"应用程序.

Please note that this is before we even get to OAuth or anything API... This occurs in the modal web view that pops up to "authorise" the application with your login.

正如我所说,尽管我有时会在 iPhone 上遇到这种情况,但它在任何地方都很好用.

As I said, works great everywhere although I can run into this from time to time on the iPhone .

请帮忙.

PS:我知道其他帖子,例如

PS: I am aware of other posts such as

https://dev.twitter.com/discussions/4849或者从 iOS 5 访问 twitter 时 OAuth 访问令牌失败

但似乎我找不到修复方法,我已经确定我使用的是 https

But it seems I can't find a fix, I already made sure I am using https

推荐答案

这似乎是 Twitter 的问题,没有更改任何代码并且它在某些条件下一天和第二天不同,我可以断断续续地工作仅假设这与 Twitter 本身有关.

It seems it's a Twitter issue, having not changed any code and it working in certain conditions one day and the next day being different, working on and off I can only assume this is something to do with Twitter itself.

这篇关于Twitter 请求令牌在 iOS 上无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆