问题
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
回答1:
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
来源:https://stackoverflow.com/questions/35570779/how-to-read-the-facebook-notification-count-in-android