不再能够通过oauth登录iOS应用:“未找到所请求的页面" [英] No longer able to login to iOS app via oauth: "the page requested was not found"

查看:81
本文介绍了不再能够通过oauth登录iOS应用:“未找到所请求的页面"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自昨天(7月3日)以来,我一直无法通过iOS应用程序中的oauth登录到Facebook,而是将我重定向到一个页面,指出未找到所请求的页面".这是新行为-通常我会从webview(iOS 5.1)通过oauth登录而没有问题,但是现在尝试登录时,我被重定向到以下页面:未找到您请求的页面,返回前一页",并使用以下URL重定向-ttps://m.facebook.com/developers/login_error.php?app_id = id]& type = external& refid = 9& _rdr

I've been unable to login to Facebook via oauth in my iOS app since yesterday (3rd July), instead I'm being redirected to a page stating "the page requested was not found". This is new behaviour - Usually I'd login through oauth from a webview (iOS 5.1) without a problem, however now upon attempting to log in I'm redirected to the following page: "The page you requested was not found, Back to previous page", redirected with the following URL- ttps://m.facebook.com/developers/login_error.php?app_id=id]&type=external&refid=9&_rdr

这仅在返回登录名时发生.如果用户是首次进行身份验证,即同意权限-在这种情况下(publish_stream,read_stream),则用户可以成功登录.如果用户随后注销,然后尝试再次登录,则会收到错误消息.

This only occurs for returning logins. If the user is authenticating for the first time, agreeing to permissions- in this instance (publish_stream,read_stream), the user can login successfully. If the user then logs out, and attempts to login again, they get the error.

可能值得注意的是,登录屏幕的样式也发生了变化,现在要求输入用户名或电话号码时说登录到Facebook以将其连接到…",如果用户输入,则不会发出警告错误的密码或用户名.这与早期的行为不同,在早期的行为中,用户在登录页面上被告知错误.

It might be worth noting that the login screen has changed in style as well, to now say "Login to Facebook to connect it to…", while requesting either a username or a phone number, and no warning if the user enters an incorrect password or username. This differs from earlier behaviour in which the user was informed of an error on the login page.

这也影响了Facebook Hackbook示例应用程序-我也无法登录.

This also affects the Facebook Hackbook sample application as well- I can't log into that either.

我已经用三个fb帐户进行了测试,每个帐户的行为都相同.这是错误,还是后端更改了某些行为导致这种行为?

I've tested this with three fb accounts and It's the same behaviour with each. Is this a bug, or has something changed back end that's causing this behaviour?

谢谢-该应用正在等待Apple的审核,因此有点麻烦!

Thanks- the app is waiting for review with Apple, so it's a bit troubling!

看来是在以下错误报告中与Facebook一起提出的,一个是我的,另一个是一个将我击败一个小时左右的人(分配给Facebook的人)的人:

This looks like it's been raised with Facebook in the following bug reports, one by me, another by someone who beat me to the punch by an hour or so (someone at Facebook assigned):

https://developers.facebook.com/bugs/161181664017031?browse=search_4ff5a6a2bf1f51f27060 /a>

https://developers.facebook.com/bugs/161181664017031?browse=search_4ff5a6a2bf1f51f27060269

https://developers.facebook.com/bugs/151046355019557?browse=search_4ff5a76b963853613233998

我的是两个链接中的第二个.如果我的不是重复的,我将其保留为新状态.

Mine's is the second of the two links; in the event mine isn't a duplicate, I'll leave it's status as new.

推荐答案

您可以通过将应用程序类型从"Web"更改为"Native/Desktop"来解决此问题

You can fix this by changing the App Type from "Web" to "Native/Desktop"

应用设置->高级->身份验证->应用类型

App Settings -> advanced-> Authentication-> App Type

希望有帮助.

这篇关于不再能够通过oauth登录iOS应用:“未找到所请求的页面"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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