简体   繁体   English

我的服务器上发生事件时的Facebook通知

[英]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.

相关问题 当内存不足或应用未运行时收到通知时,我的Singletons会怎样? - What happens to my Singletons when memory is low or when I get a notification while the app is not running 当请求到Tomcat服务器时会发生什么? - What happens when request comes to Tomcat server? 推送事件未触发来自服务器的发送通知 - Push event not firing on send notification from server 运行我的代码[BigInteger]没有任何反应 - Nothing happens when running my code [BigInteger] 我的客户端服务器套接字有问题,我编写了代码,但是当我将信息(作为客户端)输入控制台时仍然没有任何反应 - I have a problem with my client server socket, i programmed the code but still when i enter info(as client) into the console nothing happens 单击通知时会触发什么可访问性事件? - What accessibility event is triggered when a notification is clicked? 当按钮点击事件发生时,如何在Android中创建随机UUID? - how to create random UUID in Android when button click event happens? Android - 在其他类上发生事件时获得通知 - Android - Getting notified when event happens on a different class 事件发生时动态显示panelGroup(JSF / ICEFACES) - Dynamically show a panelGroup when an event happens (JSF/ICEFACES) 事件发生时绘制新的图形组件(即圆圈) - Draw new graphics components (ie circles) when event happens
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM