Set Default Activity Privacy to public on app install

一个人想着一个人 提交于 2019-12-13 05:03:21

问题


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.

I show the permissions dialog using PHP:

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

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

回答1:


The solution can be found in the bug reported here

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.

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



来源:https://stackoverflow.com/questions/16733026/set-default-activity-privacy-to-public-on-app-install

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!