Developers » API methods » Utils » utils.resolveScreenName
Detects a type of object (e.g., user, community, application) and its ID by screen name.
This method can be called by a service token. Only public data is returned.
This method can be called with a user token.
This method can be called with a community token.
screen_nameScreen name of the user, community (e.g., apiclub, andrew, or rules_of_war), or application.
string, required parameter
Returns an object with following fields:
  • type Object type (user, group, application).
  • object_id Object ID.

If screen_name is not specified, returns an empty object.
Global errors can occur while running. See their descriptions on this page.