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.