A
A
AleDv2016-03-18 17:51:59
PHP
AleDv, 2016-03-18 17:51:59

How to get the correct address of an audio file in VK via audio.get?

Guys, there was a service for listening to audio recordings from VK. It worked fine, but then I decided to check it, and found that the api gives the wrong link. Maybe there were changes in the methods, but I missed something.
I get a link like
https://psv6.vk.me/c4510/u58711694/audios/a45df583... , although on the local it gives a normal link from the CDN.
How to get a normal link to a file?
PS The token was generated on the server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AleDv, 2016-03-19
@AleDv

I found the solution by implementing all the work with audio files using api in js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question