如何在android中阅读Facebook通知计数 [英] How to read the facebook notification count in android

查看:167
本文介绍了如何在android中阅读Facebook通知计数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在facebook通知帐户中使用了NotificationListenerService和i struct结构



我需要在我的应用程序中显示通知数。



需要在我的应用程序中显示Facebook有15个通知..



帮助我完成这个

解决方案

自Graph API v2.4以来,您不能再访问通知(或未读计数)。换句话说,你想要实现的是不可能的。



更改日志: https://developers.facebook.com/docs/apps/changelog#v2_4


Hi am working on a project in which i need to show the notification.

I used "NotificationListenerService" and i struct in the facebook notification account

I need to show the notification count in my app.

Need to show inside my app " Facebook has 15 notifications.."

help me to finish this

解决方案

Since v2.4 of the Graph API, you can´t access the notifications (or the unread count) anymore. In other words, what you want to achieve is not possible.

Changelog: https://developers.facebook.com/docs/apps/changelog#v2_4

这篇关于如何在android中阅读Facebook通知计数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆