W
W
Wet_Dumplings2019-12-12 00:40:10
Python
Wet_Dumplings, 2019-12-12 00:40:10

How to translate the name of the group approx. owner_id=-123456789 to her "text" address (vk api)?

Hey!
Let's say I turn to a certain post in the community ( https://vk.com/habr?w=wall-20629724_1259832 you can even read it - interesting)
I grab owner_id = -20629724 and add
pow = vkapi.wall.get(owner_id= ) to the getwall method "-20629724", v="5.2") ok, something worked - great!
And how can I turn such a variable Owner_id="-20629724" into Owner_id = " https://vk.com/habr " or just "Habr" in the future, or does it still need to be manually set somehow?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2019-12-12
@Wet_Dumplings

So: https://vk.com/dev/groups.getById?params[group_id]...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question