Answer the question
In order to leave comments, you need to log in
Why doesn't VK.Auth.login work in Chrome?
Hello.
I understand with VK API and faced a strange problem.
When trying to log in to a contact
<script type="text/javascript">
$(document).ready(function() {
VK.init({
apiId : *******,
});
VK.Auth.login(loginHandler, VK.access.PHOTOS);
function loginHandler(response) {
// ...
}
});
</script>
response = Object {session: null, status: "unknown"}
Answer the question
In order to leave comments, you need to log in
For some reason, the checkbox "Block data and cookies from third-party sites" was enabled. It seems to be disabled by default.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question