Preliminary stage:
If you have configured a Facebook invitation button and nothing happens when you click on this button, please check the following points:
That you have not added a Facebook app on your game campaign
Whether your app on ' Facebook Developers' is wrongly configured or unavailable to the public
If it did not work:
Lately, Facebook only allows 'Games' type Facebook apps to use Facebook invitations. This application must also have been submitted to the social network's app space.
To do this, when creating your Facebook application, select 'Games' as the category. The subcategory is not required.
Once the category has been selected, add the product 'App center'.
Once added, complete all the fields in the 'Details' tab and import the photos in the specified format. If your game is in multiple languages, go to the 'Localise' tab to add a language and to translate the game into that language.
Finally, go to the 'Review' tab and submit your app.
Note, for an application to be accepted, it must be sustainable (no limit in time) and it must not give out rewards. Thus, it must be considered as a real interactive game.