• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2607
  • Last Modified:

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
0
soyglobal
Asked:
soyglobal
1 Solution
 
ICaldwellCommented:
I have used this before, does this help you?

http://facebooker.pjkh.com/connect/invite-friends
0
 
DooDahCommented:


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);

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now