在SDK 3.0上取消应用程序连接后,对不起,出现问题 [英] Sorry, something went wrong after cancel application connexion on SDK 3.0

查看:787
本文介绍了在SDK 3.0上取消应用程序连接后,对不起,出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用新的PHP SDK 3.0,并且使用带有以下参数的新的getLoginUrl()函数。

I'm using the new PHP SDK 3.0 and I use the new getLoginUrl() function with the following parameters.

$paramsLogin = array(
    'scope' => PERMISSIONS,
    'redirect_uri' => REDIRECT_URI
);

如果用户点击取消应用程序权限弹出窗口,我将用户重定向到错误页面其中包含一条消息,说明他必须接受许可才能参加比赛和新的登录按钮。

If the user clicks "cancel" on the application permissions popup, I redirect the user on an error page which contains a message explaining that he has to accept the permissions in order to participate to the contest and a new login button.

但是当我再次点击登录按钮时, facebook显示以下消息:

But when i click on the login button again, facebook displays the following message :


对不起,出现问题。我们正在尽快将此固定为

Sorry, something went wrong. We're working on getting this fixed as soon as we can.

如果我等一会儿再点击在登录按钮上按照预期的方式工作。

If I wait for a while then click again on the login button It works as expected.

我在某个地方看到Facebook应该在权限弹出窗口中显示Leave application,而不是取消我猜这是问题。

I read somewhere that facebook should be displaying "Leave application" in the permission popup instead of "Cancel" I guess this is the issue.

任何人都有任何关于如何解决这个问题的线索,或者我应该在Facebook上提交错误报告。

Anyone has any clue on how to solve that problem or should I submit a bug report on facebook.

推荐答案

这是目前在Facebook的错误跟踪器中的错误,请参阅这里: https://developers.facebook.com/bugs/287587111265733 - 我之前已经自己转载了,它被分配到修复

This is currently open as a bug in Facebook's bug tracker, see here: https://developers.facebook.com/bugs/287587111265733 - I reproduced it myself earlier, and it's been assigned for fixing

我相信如果你等待一段时间对话框再次工作(即只有在拒绝之后快速回到对话框才会发生故障,除非进行积极的测试,否则不应该真正发生)。

I believe if you wait a while the dialog works again (i.e the failure only happens if you go back to the dialog quickly after rejecting it, which shouldn't really happen except when aggressively testing).

这篇关于在SDK 3.0上取消应用程序连接后,对不起,出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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