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

  • Home
  • SEARCH
  • 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 247235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:14:20+00:00 2026-05-11T21:14:20+00:00

I have a facebook application that is published at facebook platform and i used

  • 0

I have a facebook application that is published at facebook platform and i used facebook API to invite friends and i have succeeded in creating invitation form but the problem is that when u invite friend and send invitation and the invitation request sent to the user and the user accept it this friend appears again in the friend list that can be invited again

For example :

i have friend in my friend list named X and when i send invitation to him the invitation is sent and and X accept the invitation and when i try to send invitation again the friend X appears again in the list that i can select from to send invitation this means that may i send an invitation to this user (X) and he is already playing the game i need to know how to fix this problem so friends appear in the friend list (for invitation )only friends that not use the application.

My application at the following link
My Game application
visit it and see the problem exactly after inviting friends they will appear again is this normal in any game application?

thanks in advance for any reply

  • 1 1 Answer
  • 1 View
  • 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-05-11T21:14:21+00:00Added an answer on May 11, 2026 at 9:14 pm

    In FBML if you are using the friend-selector you can pass it an array exclude_ids. If you use the api to find the users’ friends who are already using your app, you can exclude them this way.

    This also works in the multi-friend-selector which sits inside an fb:request-form tag.

    EDIT: the array of users to exclude can be obtained through the api call Friends.getAppUsers.

    Following example uses the .NET Facebook Developer Toolkit. (mainly because that’s how I’ve done it before!)

    CODE BEHIND:

    public string CURRENT_USER_FRIENDS = "";
    
    //Call this function on pageload or where you like
    private void PopulateFriendsData()
    {
    //exclude friends who already have the app from the inviter
    string UsersToExclude = string.Empty;
    IList<long> AppUserFriends = this.Master.API.friends.getAppUsers();
    foreach (long L in AppUserFriends)
    {
        UsersToExclude += L.ToString() + ",";
    }
    CURRENT_USER_FRIENDS = UsersToExclude.TrimEnd(',');
    }
    

    PAGE:

    <fb:multi-friend-selector 
    actiontext="Select the friends you want to invite" 
    rows="3" 
    exclude_ids="<%=CURRENT_USER_FRIENDS%>"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an iframe Facebook application (using Facebook's new JavaScript API) that needs to
I have a facebook iframe application that is having trouble redirecting, I keep getting
I have a Facebook application that has a user profile tab. The specs of
I have a Facebook desktop application and am using the Graph API . I
I've got an iframe application that's working fine and rendering fbml in facebook. But
I have looked on FaceBook Developer page and found that it's possible to create
Have you used VS.NET Architect Edition's Application and System diagrams to start designing a
I have created an application in facebook,all is working fine except the publish to
I am writing a Facebook application that needs to post on a friend's wall
I have an application that posts to multiple Twitter accounts by storing an array

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.