how Invite user friends to my facebook application

Posted on 2010-01-02
Last Modified: 2012-05-08
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

Question by:soyglobal
    LVL 11

    Accepted Solution

    I have used this before, does this help you?
    LVL 3

    Expert Comment


    var u="URL of your Page";
    var t="Title of your Page";
    var url = ''+ u +'&t=' + t;
    var html = '<a href="'+url+'" target="_blank">Your FACE BOOK message to Friends</a>';


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    A Change in PHP Behavior with Session Write Short Circuit ( (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
    Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily. provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
    Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now