How to check number of facebook app invitation sent by a particular users? -


i encourage facebook app users invite more friends join app. therefore, let them freely use app after invite more 50 friends (no matter friends join app or not ok).

but problem is: how can check number of invitation sent users?

thanks.

rgds

there no built in option in facebook this.

i'm using fb request dialog , whenever send request facebook return set of request id's (in case of multiple simultaneous requests) .

and have own table 'tbl_requests' can update current user_id request_id returned facebook dialog.. advantage can backtrack these request_ids when invited person accepts invitation.

the sample code be,

function invite(){ var receiveruserids = fb.ui({   method : 'apprequests',  message: 'just invite msg'  title: 'select friends join app', }, function(receiveruserids) {  if(receiveruserids){     $.ajax({        type: "post",        url: "your_file.php",        req_ids="+receiveruserids.request_ids,   });  } } );                  } 

in your_file.php process request_ids , store them on db , whenever want count no of request sent can query current user_id


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -