Frage

I have a request dialog within a page tab app. I'm hoping not to have to ask the user for any permissions. I'd like the user to be able to send a request to friends (the request dialog is working fine), but I want only friends that are 21+ to come up in the users multi-friend selector. Is this possible?

War es hilfreich?

Lösung

The Requests dialog has a filters parameter you can use to define which users do/do not appear in the requests dialog.

You can also request the friends_birthday permission from your users and filter out the friends who do not have a visible birthday or where it is <21 years old.

If users absolutely must not see the app if they're under 21, just restrict your entire app via the API or app settings so those users don't see the app, its content, or requests from it.

Andere Tipps

You may use custom multi-friend selector for this , just like : mikebrevoort's plugin, and do a check on age and send the request.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top