Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Understanding Facebook SDK app requests vs app invitations

I registered a Facebook app that is basically the website, it doesn't run at Facebook like those browser games.

I want the site users that register with Facebook to be able to invite their friends, I did this by using "requests", it opens a Facebook hosted URL where I select the friends to invite, looks like this:

enter image description here

But these requests only show on receiver's end if he/she goes here , I don't even where to click to reach that page, and from other users I receive invitations to apps that they show in top right corner under the globe icon, how do I do that ? Or is that limited to "canvas" applications that run directly on Facebook ? Are there different ways to invite people to an app ?

I want the receiver to see it like this:

enter image description here

Not like this:

enter image description here

like image 634
adrianTNT Avatar asked Nov 10 '22 11:11

adrianTNT


1 Answers

As @CBroe has already stated, Invites / Requests are limited to Canvas Apps (Apps that work within Facebook) or Mobile Apps. The app category also has to be configured to be a game (another category won't work).

The facebook documentation says: Requests are currently only available for games on Canvas, iOS or Android.

In order for the Request to work, you need to configure the Canvas Page URL: When a user accepts a request, either through the notification jewel, the beeper popup, or App Center they will be sent to the Canvas Page URL of the app that sent the request.

Read up on the Request documentation.

like image 166
Niraj Shah Avatar answered Nov 15 '22 06:11

Niraj Shah