How to read the facebook notification count in and

2019-07-12 23:00发布

问题:

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