如何减少我的应用程序请求的信息 [英] How can I reduce the information my application requests

查看:93
本文介绍了如何减少我的应用程序请求的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户邀请朋友到我的应用程序时,朋友在Facebook上收到通知。

When users invite friends to my application the friend gets a notification in the Facebook.

当他们点击此链接时,他们会看到一个对话框,要求他们批准我的应用程序。

When they click this link they see a dialogue box asking them to approve my application.

如何将我的应用程序请求限制在几乎没有,所以我不会吓倒潜在的访客。
我不想要他们的电子邮件或朋友列表或随时访问他们的数据。我只想让他们访问该网站。

How can I limit the information my app requests to almost nothing so I don't scare away potential visitors. I don't want their email or friends list or to access their data at any time. I just want them to visit the site.

确定感谢更改范围,我将对话放在这里。有什么办法可以获得更少的收益。我没有任何需要权限的代码。我的回覆只是提取请求ID。

Ok Thanks to Changing the scope I have the dialogue down to this. Is there any way to get even less. I don't have any code that requires permissions. My call back just extracts the request id's.

推荐答案

只需在登陆页面上不要求身份验证。使其使您的着陆页和主画布页面不需要身份验证,潜在用户可以浏览和检查有关您的应用程序的信息,并查看是否正在寻找。

Just don't require authentication on your landing page. Make it so that your landing page and primary canvas page do not require authentication and potential users can browse and check information about your app and look if it is what they are looking for.

然后,当他们的用户信息对您的应用程序至关重要时,您可以对应用程序进行任何重大操作,您可以打开身份验证对话框。您可以通过javascript API FB.getLoginStatus方法来检测用户是否已通过身份验证:

Then once they make any significant action on your app when their user information is essential to proceed you can open an authentication dialog box. You can detect whether users already authenticated or not with the help of javascript API FB.getLoginStatus method:

https://developers.facebook.com/docs/reference/javascript/FB.getLoginStatus/

希望这有助于

这篇关于如何减少我的应用程序请求的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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