Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7976805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:00:30+00:00 2026-06-04T09:00:30+00:00

I develop small fb app (which will be available on separate domain and through

  • 0

I develop small fb app (which will be available on separate domain and through app.facebook.com as well) and I would like to incorporate something like “Invite my friends to this app” button (don’t know exact name for this so I used quotes). How can I do this? I am using fb php sdk and don’t want to use fbml becuase as I saw it is depreciated. MANY THANKS

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T09:00:32+00:00Added an answer on June 4, 2026 at 9:00 am

    You can use the Javascript SDK to open the Requests Dialog.

    With this dialog the user can select friends to which the requests will be sent.
    It’s very easy, and the (basic) code should look something like this:

    window.fbAsyncInit = function() {
        FB.init({
            appId: "YOUR_APP_ID",
            status: true,
            cookie: true
        });
    
        // Additional initialization code here
    };
    
    // Load the SDK Asynchronously
    (function(d){
        var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
        if (d.getElementById(id)) {return;}
        js = d.createElement('script'); js.id = id; js.async = true;
        js.src = "//connect.facebook.net/en_US/all.js";
        ref.parentNode.insertBefore(js, ref);
    }(document));
    
    function invite() {
        FB.ui({
            method: "apprequests",
            message: "Check out my great app"
        }, inviteCallback);
    }
    
    function inviteCallback(response) {
        console.log(response);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to develop a small app BusTracker which will list down a
I would like to develop a facebook app (using as3) where the output is
I am trying to develop a small app, that will store User's input about
I'm trying to develop a small app like Flash Player updater. I want users
I'm trying to develop small app that will be registered on PhoneStateListener and do
I'd like to develop some application that will work with Facebook and Twitter. From
I have to develop a small app for which I have to create a
I'm planning to develop a small business app that I'd like to be deployable
I'm using BerkeleyDB to develop a small app. And I have a question about
Small design question here. I'm trying to develop a calculation app in C#. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.