[英]Facebook notification when event happens on my server
I'm new to FB API, and I'm completely lost through variety of them. 我是FB API的新手,我因各种各样的东西而完全迷失了。 I have Java web app, and FB login to it on my site.
我有Java Web应用程序,并且FB在我的网站上登录了它。 How can I send notification to user, when some event happens (for example, his good arrived, and we want to notify him)?
发生某些事件(例如,他的到来,我们想通知他)时,如何向用户发送通知? Should I use Cavans application, or Graph API?
我应该使用Cavans应用程序还是Graph API? Is it possible?
可能吗?
https://developers.facebook.com/docs/games/notifications https://developers.facebook.com/docs/games/notifications
Currently, only apps on Facebook.com can use App Notifications.
当前,只有Facebook.com上的应用程序可以使用应用程序通知。 Notifications are only surfaced on the desktop version of Facebook.com.
通知仅显示在Facebook.com的桌面版本上。
Meaning, App Notifications are for Page Apps or Canvas Apps and you can send them with an App Access Token to every user who authorized your App. 意思是,应用通知是针对页面应用或画布应用的,您可以将它们与应用访问令牌一起发送给授权您的应用的每个用户。 I suggest reading the whole article in the Facebook docs, there are some important rules and a lot of important information.
我建议阅读Facebook文档中的整篇文章,其中有一些重要规则和许多重要信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.