As the website can recognize the user id in the social. network?

0 like 0 dislike
3 views
Today the girl told that climbed one "specific to the online store", and in two hours she Vkontakte wrote the man — Manager of the store offered her advice on browsed her goods.

Find out what products she looked — easy on logs. But as the logs professiionals with its id Vkontakte?

Is it a bug or a feature? :)

UPD: On the website it came from Yandex, Windows authorization Vkontakte OpenAPI like "are You going to allow this site access to Your data" was not.
While I tend to think that this is either a bug of Facebook, or a Trojan/toolbar installed in the browser, or they found a loophole through flash. However in all this believe weak :)
by | 3 views

7 Answers

0 like 0 dislike
Well I almost got the API all feasible. Connect the VK site. Next, we use the connected site the following code:
\r
\r

\r
\r src="vkontakte.ru/js/api/openapi.js" type="text/javascript">
\r http-equiv="Content-Type" content="text/html; charset=utf-8" />
\r
\r
\rlanguage="javascript">
\rwindow.onload = (function() {
\r VK.init({
\r apiId: 2046606 //id подключенного сайта
\r
});
\r function authInfo(response)
\r {
\r if (response.session)
\r {
\r document.getElementById('t').innerHTML = "Your ID: " + response.session.mid;
\r }
\r else
\r {
\r document.getElementById('t').innerHTML = 'Вы не авторизованы вконтакте.';
\r }
\r }
\r VK.Auth.getLoginStatus(authInfo);
\r});
\r
\r id='t'>

\r
\r
\r
\r

\r
Example:
\rsvedm.com/test.html
by
0 like 0 dislike
Now Vkontakte is more extensive than before and with many stores cooperating. That is, it is possible to look at the "desires". And shops on the website attach so here is a script/stuff, if the entry VK is made, and the stores know who you are and visits are conducted.
The most basic check is to go to the site where you installed the form of comments from Vkontakte.
by
0 like 0 dislike
Updated, can someone come in handy
\r\r\r\r\r\r\rwindow.onload = (function() {\rVK.init({\rapiId: 4983778 //ВАШ_IP_ID\r});\rfunction authInfo(response)\r{\rif (response.session)\r{\rdocument.getElementById('id').innerHTML = "Your ID: " + response.session.mid;\r}\relse\r{\rdocument.getElementById('id').innerHTML = 'Вы не авторизованы вконтакте.';\r}\r}\rVK.Auth.getLoginStatus(authInfo);\r});\r\r\r\r\r
by
0 like 0 dislike
There has long been vKontakte API for websites. The contact is loaded through the iframe, so all cookies are available, identifies the user and can transmit this information to the website using the API.
by
0 like 0 dislike
Then, as an option, uploading feed2.php and parsing json.
by
0 like 0 dislike
And we know how she got on this online store? If using product search Vkontakte — then all is simple :)
by
0 like 0 dislike
Who's tracking the issue but still do not know. Yandex is actively fighting this: https://yandex.ru/blog/webmaster/21745
by
110,608 questions
257,186 answers
0 comments
28,647 users