Question

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.

Was it helpful?

Solution 3

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.

OTHER TIPS

Solved ..... Your mobile app must pe on facebook (i.e on facebook appcenter ) ..then only it will be shown as notification

I faced the similar issue .. there is something that need to be done on FB App settings->Basic, Add another platform "Facebook Canvas". This solved the issue

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top