1

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.

Community
  • 1
  • 1
Vineet
  • 111
  • 1
  • 6

3 Answers3

2

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

Vineet
  • 111
  • 1
  • 6
1

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

Sai Nadh
  • 81
  • 1
  • 3
0

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.

Sahil Mittal
  • 20,697
  • 12
  • 65
  • 90