D
D
Dmitry Mishutin2021-03-16 12:18:46
API
Dmitry Mishutin, 2021-03-16 12:18:46

How to get playlist object in VK Api?

How to get the playlist object along with all its contents ( documentation ) from the link that points to this same playlist attached to the post?

An example of an attachment in a private message (from message_new):

"attachments": [
                {
                    "type": "link",
                    "link": {
                        "url": "https://m.vk.com/audio?act=audio_playlist-147845620_1331&api_view=1769fcf4dacda191deafbd3886d06c",
                        "title": "2010-?6?",
                        "caption": "Плейлист",
                        "description": "",
                        "photo": {/*тут очень громоздкий объект, не стал его вставлять*/}
                        "button": {
                            "title": "Открыть",
                            "action": {
                                "type": "open_url",
                                "url": "https://m.vk.com/audio?act=audio_playlist-147845620_1331&api_view=1769fcf4dacda191deafbd3886d06c"
                            }
                        }
                    }
                }
            ]

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question