Answer the question
In order to leave comments, you need to log in
Can't work with VK Open API?
Good day!
The other day I installed VK Open Api, but when I called the method showGroupSettingsBox
, I got the following error:
Uncaught TypeError: VK.callMethod is not a function at vk.php:15
<html>
<head>
<script src="https://vk.com/js/api/openapi.js?160" type="text/javascript"></script>
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function () {
VK.init({
apiId: 1234567
});
});
</script>
</head>
<body>
<script type="text/javascript">
//Ошибка на следующей строчке.
VK.callMethod("showGroupSettingsBox", 4096);
</script>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question