Hello everyone.
I want to send invitation to facebook users to join my app. I already have the app_id, app_secret. Please tell me how i can send inivation to facebook users i try this code but not getting the result. Now waiting for your good reply so that i can send the invitatoin to the facebook users.
Thanks in advence.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
appId:'144016925734242',
cookie:true,
status:true,
xfbml:true
});
function FacebookInviteFriends()
{
FB.ui({
method: 'apprequests',
message: 'Your Message diaolog.'
});
}
</script>
</head>
<body>
<div id="fb-root"></div>
<a href='#' onclick="FacebookInviteFriends();">
Facebook Invite Friends Link
</a>
</body>
</html>