Answer the question
In order to leave comments, you need to log in
How to properly connect a site to the IFrame application of VKontakte?
Here is the page code for the Iframe:
<html>
<head>
<title>Заголовок страницы</title>
<script src="//vk.com/js/api/xd_connection.js?2" type="text/javascript"></script>
<script type='text/javascript' src='http://code.jquery.com/jquery-2.1.1.min.js'></script>
</script>
</head>
<body>
<h1>
Название
</h1>
Answer the question
In order to leave comments, you need to log in
The content of the Iframe page can be anything. Even if you do not connect the VKontakte js api to it, the page will still be displayed if its address starts with https . for example, here is a page from google drive https://www.googledrive.com/host/0BwJdr1z6VMXjcXpl...
here it is inserted in vkontakte https://vk.com/app4734761_810555
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question