This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getPublics(userId,callback) { | |
var xhr = new XMLHttpRequest(); | |
var body = 'act=load_idols&al=1&oid=' + userId; | |
xhr.open("POST", 'https://vk.com/al_fans.php', true) | |
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); | |
xhr.onreadystatechange = function() { | |
if (this.readyState == 4 && this.status == 200) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getPublics(userId,callback) { | |
var xhr = new XMLHttpRequest(); | |
var body = 'act=load_idols&al=1&oid=' + userId; | |
xhr.open("POST", 'https://vk.com/al_fans.php', true) | |
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); | |
xhr.onreadystatechange = function() { | |
if (this.readyState == 4) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const http = require('http'); | |
const qs = require('querystring'); | |
const TextDecoder = require('text-encoding').TextDecoder; | |
const PORT = 3000; | |
// const VK_UID = 50595075; | |
const VK_REMIXSID = '00796e02caae56926fcd0881bd3b80711c520ad2cf533e0c32522'; // you must be logined to get this |
OlderNewer