thank_you
thank_you

Reputation: 11107

Facebook Send Request Not Sending Request

I'm trying to set up a Facebook Send Request on my webpage. I have the following code...

<a id="invite-friends" onClick="fb_initiate('#{@app_id}')" href="#">Invite your Friends</a>

<div id="fb-root"></div>

<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js#xfbml=1&status=0">

<script>
  function fb_initiate(app_id) {
    FB.init({
       appId: app_id,
       status:true,
       xfbml:true
    });

    FB.ui({ method: 'apprequests',
            message: 'There is so much more to life, other than bill payments. Try BillBaba.com and never miss another bill payment.'
     });
   };
</script>

When I click on the invite your friends link, the following box loads...

enter image description here

From there I click on my friends and click on Send Requests. The facebook box closes, however none of my friends have received the message.

My settings are...

enter image description here

I have no idea how to debug this. Could this be a privacy settings issue or is there something wrong with my code?

Upvotes: 0

Views: 615

Answers (1)

valentinvieriu
valentinvieriu

Reputation: 547

Check if your application is in sandbox mode. You can find that in the Basic Info section. If sandbox mode is on, the apprequest will be sent only to the developers or testers associated with the app.

Add your friends as developers or testers and they will receive the apprequests.

Upvotes: 2

Related Questions