Link to home
Start Free TrialLog in
Avatar of soyglobal
soyglobal

asked on

how Invite user friends to my facebook application

Hi, i have created my first facebook application using iframe and javascript api, and i want that users can invite his friends to use my application, but i don't find any example for do it.
Can somebody help me with an example of the facebook javascript api code for invite friends
or a page with examples of viral functions of facebook

Thanks
Jose
ASKER CERTIFIED SOLUTION
Avatar of ICaldwell
ICaldwell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DooDah
DooDah



var u="URL of your Page";
var t="Title of your Page";
var url = 'http://www.facebook.com/share.php?u='+ u +'&t=' + t;
var html = '<a href="'+url+'" target="_blank">Your FACE BOOK message to Friends</a>';
document.write(html);