facebookunity-game-enginefacebook-app-requestsfacebook-invite

Unity Facebook apprequest works but no notification shown


How do I make my mobile game send a request that is shown as notification like in Candy Crush Saga game.

I went through this App requests successful, but no notification shown but can't find the solution. I don't know what to put in my canvas URL.

GAME is developed in Unity3d.


Solution

  • The canvas apps means- the apps displayed inside facebook.com.

    I think you are having the mobile app not a canvas app, so Notification API, which is still in beta do not supports the notification in mobile. Acc to doc-

    Currently, only apps on Facebook.com can use App Notifications. Notifications are only surfaced on the desktop version of Facebook.com

    So instead of notifications API, you can use different kind of Requests- whichever is more significant in your case.