D
D
DARKENN2020-03-30 18:54:59
Java
DARKENN, 2020-03-30 18:54:59

How to display avatars of vk users in an android application?

Hello! I need to display a list of all users of my application, and on the left their avatars, I have authorization through VKontakte, and the firebase database. I figured out how to display the avatar of a specific user for him, but how to display everyone and not everyone.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Vodakov, 2020-03-31
@DARKENN

Use the VK API in particular, the users.get method, among other things, returns the fields photo_50, photo_100, photo_200_orig, photo_200, photo_400_orig, photo_max, photo_max_orig. These are links to the avatar in different resolutions.
Read more here: https://vk.com/dev/objects

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question