Facebook application request dialog does not send request

We have a website that uses Facebook to login. We have an invitation page that displays the friends of the facebook user and then invites 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 a response from Facebook that includes the request id and the invited user id. No one ever receives invitations, and when I check the request identifier in the FB column, I return "false".

Any ideas?

+6
source share
1 answer

A few words about where to start looking:

  • Make sure your application is not in sandbox mode.
  • Make sure the user is not a test user who sends invitations.
  • Requests are available only for Canvas desktop applications, not for websites.
+17
source

Source: https://habr.com/ru/post/907730/


All Articles