简体   繁体   English

在“验证”对话框中登录和取消

[英]Login and Cancel at Auth Dialog

So I have a facebook canvas page that holds some info and buttons http://www.facebook.com/theminespress?sk=app_289102104446763 . 所以我有一个Facebook画布页面,其中包含一些信息和按钮http://www.facebook.com/theminespress?sk=app_289102104446763

First Question is... When the user clicks on the app link they are taken to a log in page: 第一个问题是...当用户单击应用程序链接时,将带他们到登录页面:

http://www.facebook.com/connect/uiserver.php?app_id=287405277948067&method=permissions.request&redirect_uri=http%3A%2F%2Fapps.facebook.com%2Fchocolate_sender%2F&response_type=none&display=page&perms=publish_stream&auth_referral=1

Even though they are already logged in? 即使他们已经登录? How do I just get them straight to the auth dialog for extended permissions? 我如何直接将它们直接进入身份验证对话框以获取扩展权限?

Secondly if the user selects "Don't Allow" on the extended permissions screen they are still taken into the app? 其次,如果用户在扩展权限屏幕上选择“不允许”,他们是否仍被带入应用程序? I'm not seeing it go to: 我看不到它去:

http://YOUR_URL?error_reason=user_denied& error=access_denied&error_description=The+user+denied+your+request

As described in (http://developers.facebook.com/docs/authentication/). 如(http://developers.facebook.com/docs/authentication/)中所述。

What am I doing wrong? 我究竟做错了什么? Please Help. 请帮忙。

You need to override the facebook's default action. 您需要覆盖Facebook的默认操作。 See my answer to this post for sample code http://facebook.stackoverflow.com/questions/7886134/facebook-requests-2-0-how-to-change-accept-button-url-to-be-a-url-outside-of/7987489#7987489 - do follow the link to the facebook's help page. 请参阅我对这篇文章的回答以获取示例代码http://facebook.stackoverflow.com/questions/7886134/facebook-requests-2-0-how-to-change-accept-button-url-to-be-a-url -outside-of / 7987489#7987489-请点击指向Facebook帮助页面的链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Facebook登录身份验证对话框和权限 - Facebook Login auth dialog and permissions Facebook图形FB.login连接对话框,取消事件 - Facebook graph FB.login connect dialog, cancel event 我的应用程序显示了facebook登录对话框,并提示用户登录 - 如何从此对话框中取消? - My app presents the facebook login dialog and user prompted to login - how can he cancel from this dialog? iOS上的增强型身份验证对话框无法完成登录流程 - Enhanced auth dialog on iOS doesn't complete login flow 从auth对话框登录后重定向到Facebook应用程序 - Redirect to facebook app after login from auth dialog Facebook iOS SDK - 用于登录的UIWebView对话框 - 用户如何手动取消? - Facebook iOS SDK - UIWebView dialog for login - how can user manually cancel? Facebook会话取消对话框 - Facebook Session cancel dialog Facebook登录Android取消 - Facebook Login Android Cancel 在对Facebook登录名/密码进行身份验证后,我得到一个对话框,提示“安装/取消”,而不是“允许/不允许”应用程序权限。 - After authentication of facebook login/pwd, I get a dialog box says “install/cancel” instead of “allow/don't allow” App permission.? Facebook身份验证对话框跳过 - Facebook Auth dialog skip
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM