Developers » API methods » Account » account.getCounters
Returns non-null values of user counters.
This method can be called with a user token.
filterCounters to be returned:
  • friends Ś new friend requests;
  • friends_suggestions Ś friends suggestions;
  • messages Ś new messages;
  • photos Ś new photo tags;
  • videos Ś new video tags;
  • gifts Ś gifts;
  • events Ś events;
  • groups Ś communities;
  • sdk Ś requests in mobile games;
  • app_requests Ś apps requests.
list of comma-separated words
positive number
Returns an object that may include friends, messages, photos, videos, notes, gifts, events, groups, sdk fields (integer) with a counter value.
Global errors can occur while running. See their descriptions on this page.
Version historyShow all
Community object contains new cover field. account.getCounters method takes a new value friends_suggestions in the filter parameter. pages.get checks whether the user has administrator rights for using the need_source parameter.