如何使用新的Graph API获取用户通知 [英] how can i get user notifications with the new Graph API
问题描述
im切换到新的Graph API,我尝试用新的Graph api
替换所有其余的api,我看到我有一些实时功能(我不知道它与获取用户
通知),假设返回我回调。
,但我的情况我喜欢调用简单的http命令,并得到用户通知(像旧通知api的)
现在我该怎么办?
谢谢
im making switch to the new Graph API , and i try to replace all the rest api with the new Graph api reading the docs i saw i have some kind of real time function ( im not sure its related to getting the user notifications ) that suppose to return me callback . but im my case i like to invoke simple http command and get the user notification like ( like the old notification api's ) how can i do it now ? Thanks
推荐答案
GraphAPI方式:您可以通过 USER_ID / notifications
,它需要 manage_notifications
权限。
A GraphAPI-way: you can access notifications through USER_ID/notifications
, it requires the manage_notifications
permission.
这篇关于如何使用新的Graph API获取用户通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!