Change default Facebook app visibility

I am developing a mobile application using several facebook features (mainly Login and Feed). The application connects people who are already friends on facebook, and since they used fblogin, I can get a list of "friends of friends also using the application" with a FQL query.

Now, if the user has the app’s visibility set to β€œonly me,” he will not show his friends to friends with an fql request or a call to getAppUsers, which seems logical.

This is a problem because each user who installs the application has the default " only to me " value in the Application Center.

In the "permissions" settings in the application configuration, the "Default activity configuration" is set to " friends ", and the scope is [email, user_photos, user_birthday]; but in fact it does not really matter. I have this problem with my account (i.e. uninstall and reinstall the application -> only me) and check the accounts. The application is not in the sandbox, and I ran out of email aliases (and time) trying to figure it out.

Is there a way to set the default visibility for the application, or am I missing something obvious?

I am mistaken as to how I should deal with this (should I just get the user's friends list and check it against other members to find out the relationship and is the facebook policy worth it?)?

+4
source share

Source: https://habr.com/ru/post/1490439/


All Articles