Facebook invite request error android

2019-06-12 11:48发布

问题:

When I invite friends from my application, they got a notification on Facebook saying I invited them to my game. However, when they click on the notification they got a error saying: "The requested page can not be displayed right now...". Could the reason be that the application is not published on google play or app store yet? If not, any suggestions?

回答1:

The problem will be in your application registration on Facebook developer site. The invite button should show a notification to the user, this notification should be linked with your application URL on Google PlayStore. The problem will be in this part. Make sure you are typing your app link correctly

Here is a useful link for Facebook registration API



回答2:

In my situation there was problem with facebook app settings.

I had only android application registered on facebook and "Single Sign On" filed was off.
Then I changed it to "Yes" value. Problem solved.

Marked area with red in image shows that field.

It has to be set to "Yes" if you want recieper to open when cliking on requets notifation on android device.