F
F
fooger2015-10-02 13:32:05
Classmates
fooger, 2015-10-02 13:32:05

How to get user id by its shortName name?

Hello.
It is necessary for the application to get the avatar of the user or group, having only a link to this user or group. If the link has a profile/group ID in it (for example , ok.ru/group/53038939046008), then I extract it without any problems and receive a link to the profile picture with the application. But what if the link does not have an id in it, but has a "beautiful url" (shortname) of the profile/group, for example ok.ru/apiok ?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
fooger, 2015-10-20
@fooger

Figured it out, there is a url.getInfo method:
https://apiok.ru/wiki/display/api/REST+API+-+url.g...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question