i want to invite friends on facebook api without canvus url ..

see if this helps

<html>
   <head>
   <title>My Great Canvas app</title>
   </head>
   <body>
   <div id="fb-root"></div>
   <script src="http://connect.facebook.net/en_US/all.js">
   </script>
   <script>
     FB.init({ 
       appId:'APP_ID', cookie:true, 
       status:true, xfbml:true 
     });



function FacebookInviteFriends()
{
FB.ui({ method: 'apprequests', 
   message: 'My diaolog...'});
}
   </script>
<a href='#' onClick="FacebookInviteFriends();"> Facebook Invite Friends</a>
   </body>
 </html>