Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook api - Invite only those that don't have the app

I'm using this method in order to allow the end user to invite friends:

     FB.ui({method: 'apprequests', message: 'app message!', data:'tracking information for the user'});

The user is prompted with a facebook dialog in which he can choose to invite:

  1. All friends
  2. my app users (the users that have the app installed/allowed)
  3. Friends to Invite (those that don't have the app installed - my goal)

Or in a brief image:

enter image description here

I don't want the end user to have a choice here, only prompt the third option - those that don't have the app.

Can someone point me to the right direction on this? I'm using php + facebook's php sdk.

like image 632
Tom Avatar asked Apr 16 '11 19:04

Tom


1 Answers

FB.ui({method: 'apprequests', message: 'app message!',filters:'app_non_users' data:'tracking information for the user'});
like image 114
ankur.singh Avatar answered Sep 30 '22 14:09

ankur.singh