Facebook has released the latest update to the Graph API, resulting in more drastic changes and deprecations to the platform. Released on July 8th 2015, the latest version of the API removes access to the user’s Notifications, Inbox and Stream and Groups. As a result, you have until October 8th 2015 to remove these features from your App before they are completely disabled.
As a result, the following permissions have been removed:
- read_stream
- read_mailbox
- manage_notifications
- user_groups
This means that application using any of the above will cease to work after October 8th 2015. With Groups, the API will still support API calls to groups the user is an admin of, but you will no longer be able to get information on which other groups the user is a member of.
In other deprecations, the following endpoints will also stop working in v2.4:
GET /v2.4/{id}/links
GET /v2.4/{id}/statuses
GET /v2.4/{event_id}/invited
GET /v2.4/{event_id}/likes
GET /v2.4/{event_id}/sharedposts
For all the details on the changes in Graph API v2.4 and instructions on how to upgrade to the latest version, please see the official changelog.
How we can use notification API if we want to use it in future? can we change the API version..?
You can still send notifications to the user, you just can’t read or edit them in anyway. You can switch to a different API version using the SDK, but older versions will be come unusable as new versions are released, forcing you to upgrade. There is no point in using deprecated APIs as they will stop working eventually.
Thanks for replay Niraj,
My requirement is to read the notification, not to post notification. So is there alternate way to achieve this..?
The Read Notification API has been depreciated. There is no way around it. You can no longer read notifications.