Using JavaScript :
Things Required all u need to do i call
Things Required all u need to do i call
- Call FB.init Method -
FB.init({ appId : 'YOUR_APP_ID', frictionlessRequests : true });
- To send request for purticular friends
- function sendRequestToRecipients(){ FB.ui ({method: 'apprequests', message: 'My Request', to: '12345,23456' }, requestCallback); }
- To send request for all friends
function sendRequestViaMultiFriendSelector() { FB.ui({method: 'apprequests', message: 'My Request' }, callbackfunction()); }
callbackfunction(response){
alert(response);
}