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

问题描述

我使用它使用MGTwitterEngine和SAOAuthTwitterEngine微博+ OAuth的。

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

我的应用程序在模拟器的伟大工程,并在iPhone / iPod的,我只带了iOS 5的测试设备上,但我已经设置了我的code,这样如果系统中没有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


要么
OAuth而来自iOS 5的

但似乎我无法找到一个解决方法,我已经确信我使用https

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

推荐答案

这似乎是一个Twitter的问题,有没有改变任何code,它在某些条件之一一天的工作,第二天是不同的,工作和关我只能假设这事做与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上无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 17:12