在应用安装时将默认活动隐私设置为public [英] Set Default Activity Privacy to public on app install

查看:121
本文介绍了在应用安装时将默认活动隐私设置为public的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到在我的最后一个应用程序中,安装的活动隐私设置为只有我,当新的权限对话框显示没有办法从那里改变隐私,这个应用程序安装与只有我隐私。
我想强制公共价值的这个应用程序的隐私,我不知道该怎么做。

I've noticed in my last app that it installs with the Activity Privacy set to "Only me" and when the new permissions dialog shows there's no way to change the privacy from there, and this app installs with "Only me" privacy. I wanted to force the Public value for this app privacy and I don't know how to do it.

我使用PHP显示权限对话框: / p>

I show the permissions dialog using PHP:

$params = array(
  'scope' => 'email',
  'redirect_uri' => 'https://mytabpage'
);

$loginUrl = $facebook->getLoginUrl($params);


推荐答案

解决方案可以在报告的 here

The solution can be found in the bug reported here

正如托马斯在这里所说: / p>

As Thomas says here:


进一步测试后,如果用户以前没有安装该应用程序,似乎遵循默认活动。如果用户之前已经使用过该应用程序,并将其从配置文件中删除,则在重新添加该应用程序时,将使用之前使用的任何设置。

After further testing, if the user has NEVER installed the app before, it seems to follow the default activity. If the user HAS USED the app before, and removed it from their profile, when they re-add it, it uses whatever settings they had before.


$ b $希望有帮助。如果你以为其他方式或发现任何偏离这个理论让我知道!

Hope that helps. If you think otherwise or find any deviation from this theory let me know!

这篇关于在应用安装时将默认活动隐私设置为public的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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