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

The Archive Base Latest Questions

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

Is there any way to post a Facebook application invite from Ruby on Rails,

  • 0

Is there any way to post a Facebook application invite from Ruby on Rails, e.g. by deploying Koala?

Looks to be impossible at the glance. Any workarounds other than simply posting to a wall?

  • 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-05-26T21:45:20+00:00Added an answer on May 26, 2026 at 9:45 pm

    Actually mikeonrails gave a correct link – the Requests dialog is the way to invite friends to your app and send them other types of requests. It does require user interaction though (just as the video shows), for requests sent to users who don’t have the application installed.

    And now for the details. There are 2 types of requests that you can send:

    • user-generated requests: these can be sent to users who don’t have the application installed (ie. application invite). They can only be sent using the Javascript SDK (or the iOS or Android SDKs but I don’t think you’re interested in those) and they do require user interaction. It will consist of a pop-up that will either display a selection (made by you) of his friends or a friend selector and a send button to send them your message.
    • app-generated requests: these can only be sent to users who have the application installed, but can be sent without user interaction.

    The code for user-generated requests is like this (using the Javascript SDK):

    // this will show the pop-up dialog with a friend selector
    // add a `to: 'friend_id1,friend_id2` to skip the friend selector
    FB.ui({
        method: 'apprequests',
        message: 'My Great Request'
    }, requestCallback);
    

    For the app-generated requests you can use Koala like this:

    user = Koala::Facebook::API.new(user_token)
    user.put_object("user_with_app_installed_id", "apprequests", {:message => "Would you like to be friends?")
    

    So, the conclusion is that you cannot invite a user’s friends to your application without his approval, but you can make it really simple for him to do it (2 clicks).

    If you’d like to read more:

    • Requests Dialog: http://developers.facebook.com/docs/reference/dialogs/requests/
    • Social Channels: http://developers.facebook.com/docs/channels/#requests
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any plugin or way to post on my facebook wall directly from
Is there any way instead of a JS hack where I can post from
Is there any way to allow people that has a facebook account to post
Is there any way to post something to a user's friend's wall from that
Is there any way to accept POST type requests without using Nerve lib in
Is there any way (in Java Servlet) to determine whether a HTTP POST or
Is there any way to do some kind of while() for each post variable
i want to code something in my post template. So, is there any way
Is there any way to capture the MouseDown even from the .NET 2.0 TextBox
Is there any way to have something that looks just like a file on

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.