I have the Facebook SDK for Android working in my app. I can’t seem to find any examples or documentation on how to use the SDK code to get Notifications. I have the permission “manage_notifications” set and I am assuming that I need to use the .request() method, but the graphPath parameter eludes me.
Does anyone have an example of how to get the Facebook notifications using the Facebook SDK for Android?
While the other answers are helpfull, what I was looking for was an example of the Android Code. I have figured it out though and have posted it here. The code below gets the logged in/authenticated users notifications.
Then you will need to parse the string “result”. It’s in json format. Here is an example of what that will look like:
I hope that other people find this useful.