Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook app request dialog not sending request

We have a website that uses Facebook for login. We have an invite page that displays the user's facebook friends and lets then invite them through facebook:

$('.invite_container a').live('click', function() {
    var link = $(this);
    FB.ui({method: 'apprequests',
        message: "Join me on Tailored",
        to: link.attr("user_id")
    }, function(data) {
        console.log(data);
    });
});

I get the appropriate response back from Facebook, which includes the request ID and the ID's of the users who were invited. No one ever receives the invites, and when I check the request ID in the FB graph, I get returned 'false'.

Any ideas?

like image 346
Matt Johnston Avatar asked Feb 06 '12 01:02

Matt Johnston


1 Answers

A couple of sugegstions as to where to start looking:

  • Ensure your app is not in sandbox mode.
  • Ensure the user is not a test user that is sending invites.
  • Requests are only available for Desktop Canvas apps and not websites.
like image 83
DMCS Avatar answered Oct 20 '22 21:10

DMCS