Thread:Project:Support desk/How to insert discussion widget from Facebook ot VK.com to discussion page?/reply

For inserting some JS, see ResourceLoader/Migration guide (users).

If VK.com acts the same as Facebook, you could probably adapt Extension:Facebook.