Facebook graph api 获取所有通知

Facebook graph api 获取所有通知,facebook-graph-api,notifications,Facebook Graph Api,Notifications,我可以通过此查询轻松获取未读通知: https://graph.facebook.com/USER_ID/notifications?access_token=ACCESS_TOKEN 是否可以将所有通知(标记为已读)也删除?是的,您可以指定参数include\u read as 1以指示您希望接收已读通知 https://graph.facebook.com/USER_ID/notifications?include_read=1&access_token=ACCESS_TOKEN

我可以通过此查询轻松获取未读通知:
https://graph.facebook.com/USER_ID/notifications?access_token=ACCESS_TOKEN

是否可以将所有通知(标记为已读)也删除?

是的,您可以指定参数include\u read as 1以指示您希望接收已读通知

https://graph.facebook.com/USER_ID/notifications?include_read=1&access_token=ACCESS_TOKEN
此链接可能对您有所帮助

使用API

应用程序可以通过向/user\u id/notifications图形API发出HTTP POST请求并使用app access\u令牌来生成通知


POST/{recipient\u userid}/notifications?access\u token=..&template=..&href=..

这与用户的问题无关,只是引用了不相关的文档。用户不希望从游戏中推送通知,他希望从用户中拉入读取通知。。。