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 7741723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:05:58+00:00 2026-06-01T09:05:58+00:00

I have created an invite friends code, which is properly working if an FB

  • 0

I have created an invite friends code, which is properly working if an FB user is logged in.

If I remember correctly, it also worked, when there were no active fb users, in this case it simply shown a fb login page and then it went to an invitation.

Currently the ‘invite facebook friends’ link is really struggling, if there aren’t any active facebook users.

    FB.ui({
                    appId:  '"' + appId + '"',
                    method: 'apprequests',
                    display: 'iframe',
                    message: '"' + message + '"',
                    title: 'Send your friends an application request'
                },
                function (response) {
                    if (response && response.request_ids) {
                        FB.api(response.request_ids, 'delete');
                    }
                });

enter image description here

Did I do something wrong, or is this a bug in the Facebook invitation?

  • 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-01T09:05:59+00:00Added an answer on June 1, 2026 at 9:05 am

    It seems, I got an answer on the Facebook bug site. However, it should help anybody , who has a lack of FB api knowledge . The documentation didn’t show this example:
    If there aren’t any active fb session , it just open a login screen.
    Finally I just realised what happened:

    It doesn’t show a login screen , if you use an IFRAME.

    Do not use that!!

    Thank you for Noorin Ladhani.

    <script>
    document.getElementById('send-to-many').onclick = function() {
      FB.ui({
        method: 'apprequests',
        message: 'Visit my page'
      }, Log.info.bind('send-to-many callback'));
    }
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code to allow users to invite thier Facebook friends: function
i have created a simple public ref class in the vc++ project, which is
I'm developing an android application where I have to invite facebook friends to an
We have created an invite function at our site in JavaScript using the Graph
I have a system which allows users to schedule conference calls and invite people
I have some code written like so: class Invite(models.Model): STATE_UNKNOWN = 0 STATE_WILL_PLAY =
I have an invite friends mechanism with Facebook's FB.ui({method: 'apprequests', message: 'Come join me...'})
I have a Invite model, which has n + m attributes (location, timing etc.).
I have a class User, which has many Events and belongs to many Groups.
I have this relationship where User can create a document(trip) and invite other users

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.