Returns how many of each type of unread items the current user has.

This method requires an access token, but no permissions.

Parameters

This method does not take any parameters.

Result

An object:

friends
integer (non-negative)

New friend requests.

notifications
integer (non-negative)

New notifications (“feedback”). Whether or not this includes likes and reposts is determined by the corresponding setting.

groups
integer (non-negative)

New group invitations.

events
integer (non-negative)

New event invitations.

messages
integer (non-negative)

Unread messages.

photos
integer (non-negative)

New photo tags.

Errors

Global errors may occur when calling this method.