从Facebook应用程序向用户发送通知
I need to send a notification to specific users of my app on facebook. And by notification i mean the red number that appears on the globe on the top, not the one that appears beside the app in the sidebar. Is it possible to send such notifications from my app? If yes, how? I have used the PHP SDK. Thank you!
我需要在facebook上向我的应用程序的特定用户发送通知。 通过通知我的意思是顶部的地球上显示的红色数字,而不是侧边栏中应用程序旁边显示的红色数字。 是否可以从我的应用程序发送此类通知? 如果是,怎么做? 我使用过PHP SDK。 谢谢! p> div>
As of August 31st 2012 you can send your users notifications:
The only way to send a notification that lights up the globe icon is via a user-to-user request: https://developers.facebook.com/docs/requests/
That can only be used by canvas apps, and also requires popping up a dialog where the user picks the recipients to send the request to.