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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:50:42+00:00 2026-06-03T06:50:42+00:00

I am sending a private message via facebook from my app (website). It is

  • 0

I am sending a private message via facebook from my app (website). It is an invitation link to the website – however, it gives the following error:

The website encountered an error while retrieving https://www.facebook.com/dialog/send. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition 

The link invitation link being sent is something like
http://myapp.com/invitation – doesnt work
http://myapp.com – works!

How can I make it work with something after a forward slash?

The actual code:

  :javascript
    $(function(){
      $('li.friend:not(.invited) label').live('click', function() {
        FB.init({appId: #{Rails.application.config.fb_app_id}, xfbml: true, cookie: true})
        FB.ui({
          method: 'send',
          display: 'popup',
          name: 'New Invitation',
          link: 'http://myapp.com/invitation/',
          to: this.parentNode.getAttribute("data-id"),
          frictionlessRequests:true,
          show_error: 'true'
        })
        $(this).parent().addClass("invited")
        $(this).siblings().prop("checked", true)
      })
    });
  • 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-03T06:50:43+00:00Added an answer on June 3, 2026 at 6:50 am

    You have ‘frictionlessRequests’ and ‘method: send’ there; those aren’t compatible options. The frictionlessRequests: true, should be in your FB.init() call and affects how the Requests dialog works when pre-filling recipients, what you have there is a mix of parameters from different dialogs

    A sample send dialog call is:

      FB.ui({
              method: 'send',
              name: 'People Argue Just to Win',
              link: 'http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html',
              });
    

    and a sample apprequests dialog:

    FB.ui({
        method: 'apprequests',
        message: 'Come use this app with me.'
      });
    }
    

    Also (as you discovered) the link needs to resolve correctly a return a 200 response; if it redirects immediately it won’t work correctly

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For sending the same message to 100 devices via c2dm, We need to do
I am sending the same transactional message via C# to 3 transactional MSMQ queues
In the following example, one thread is sending messages via a ByteBuffer which is
I'm writing an app which can test different SMSC (Short Message Service Centers) from
i have this form_for sending a private message between two users on my users#show
sending mail along with embedded image using asp.net I have already used following but
Sending Email in Android using JavaMail API without using the default/built-in app I'm trying
When sending data via POST or GET with jQuery you use for format {
Suppose I have some Message class like the following. (This is a made-up class
I am sending data from one device to another (Samsung Tab and Sony Xperia).

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.