{"id":268047,"date":"2015-11-12T11:10:02","date_gmt":"2015-11-12T08:10:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=268047"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=268047","title":{"rendered":"\u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440 \u0434\u043b\u044f VK \u043d\u0430 Python"},"content":{"rendered":"<p>       \u041a\u0430\u043a-\u0442\u043e \u043c\u0435\u043d\u044f \u043e\u0441\u0435\u043d\u0438\u043b\u0430 \u043c\u044b\u0441\u043b\u044c: \u00ab\u0417\u0430\u0447\u0435\u043c \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0432\u043a\u043b\u0430\u0434\u043a\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0441 \u0412\u041a \u043e\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u0441\u0442\u0432\u0430, \u0435\u0441\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u0435\u0435 \u0437\u0430\u043c\u0430\u0441\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c?\u00bb<\/p>\n<p>  \u0418 \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043c\u043e\u0435\u043c\u0443 \u043d\u0430\u0447\u0430\u043b\u044c\u0441\u0442\u0432\u0443 \u0432 \u0446\u0435\u043b\u043e\u043c \u043f\u043e\u0444\u0438\u0433 \u043d\u0430 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0442\u0438 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b, \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0438\u043d\u0443\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0431\u044b\u043b\u0430 \u0440\u0435\u0448\u0435\u043d\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044f \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u0430\u043c \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f:<\/p>\n<ul>\n<li>\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 Python \u043c\u043e\u0434\u0443\u043b\u0438: os, sys, json, urllib2 <\/li>\n<li>\u041c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u0437 \u044d\u0442\u043e\u0439 <a href=\"http:\/\/habrahabr.ru\/post\/143972\/\">\u0441\u0442\u0430\u0442\u044c\u0438<\/a><\/li>\n<\/ul>\n<p>  \u041f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u043b\u044f Python \u0432\u0435\u0440\u0441\u0438\u0438 2.7, \u043d\u043e \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0434\u043e \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438. \u0414\u043b\u044f \u043d\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u044b\u0445 \u0441\u0440\u0430\u0437\u0443 \u0434\u0430\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 <a href=\"https:\/\/github.com\/AndreyPerelygin\/vkConsole\">GitHub<\/a>.<\/p>\n<h4>\u0418\u0442\u0430\u043a, \u043d\u0430\u0447\u043d\u0435\u043c<\/h4>\n<p>  \u041f\u0435\u0440\u0432\u043e\u0435 \u0438 \u0441\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u0447\u0442\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f, \u044d\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u043e\u043a\u0435\u043d. \u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f:<\/p>\n<pre><code class=\"python\">import vk_auth app_id = &quot;4925055&quot; access_token = vk_auth.auth(YOUR_LOGIN, YOUR_PASSWORD, app_id, &quot;offline,messages&quot;)[0] <\/code><\/pre>\n<p>  <i>\u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432\u044b\u0448\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043b\u0435\u0436\u0438\u0442 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0441 \u043d\u0430\u0448\u0438\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u0438 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f vk_auth.py<\/i><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0442\u043e\u043a\u0435\u043d \u0438 \u043c\u044b \u0434\u0430\u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u0437\u0430\u043f\u0440\u043e\u0441. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043c JSON \u0438\u0437 10 \u043d\u0430\u0448\u0438\u0445 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432, \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u043c \u0435\u0433\u043e \u0432 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0432\u044b\u0432\u0435\u0434\u0435\u043c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d: <\/p>\n<pre><code class=\"python\">import urllib2 import json import vk_auth app_id = &quot;4925055&quot; login = raw_input(u&quot;Enter your login: &quot;) password = raw_input(u&quot;Enter your pass: &quot;)  access_token = vk_auth.auth(login, password, app_id, &quot;offline,messages&quot;)[0] dialogs = json.loads(urllib2.urlopen(&quot;https:\/\/api.vk.com\/method\/messages.getDialogs?count=10&access_token=%s&v=5.33&quot; % (access_token)).read().decode(&quot;utf-8&quot;)) layer = &quot;&quot; for item in reversed(dialogs[&quot;response&quot;][&quot;items&quot;]): \tuser = json.loads(urllib2.urlopen(&quot;https:\/\/api.vk.com\/method\/users.get?user_id=%s&fields=contacts,online&access_token%s&v=5.8&quot; % (item[&quot;message&quot;][&quot;user_id&quot;],access_token)).read().decode(&quot;utf-8&quot;))[&quot;response&quot;][0]; \tif (user[&quot;online&quot;] == 1): \t\tuser[&quot;online&quot;] = &quot;online&quot; \telse: \t\tuser[&quot;online&quot;] = &quot;offline&quot; \tlayer+= &quot;%s %s [%s] (%s):\\n&quot; % (user[&quot;first_name&quot;], user[&quot;last_name&quot;], user[&quot;online&quot;], item[&quot;message&quot;][&quot;user_id&quot;]) \tlayer+= &quot;%s \\n&quot; % item[&quot;message&quot;][&quot;body&quot;] \tlayer+= &quot;--------------------------------------------\\n&quot;  print (layer) <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0432\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u0437 10 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432 \u0441 \u043f\u043e\u043c\u0435\u0442\u043a\u043e\u0439 \u0432 \u0432\u0438\u0434\u0435 \u0438\u043c\u0435\u043d\u0438 \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043d\u0438\u043a\u0430 \u0438 \u0435\u0433\u043e \u0441\u0442\u0430\u0442\u0443\u0441\u043e\u043c.<\/p>\n<p>  \u041d\u043e \u0432\u0435\u0434\u044c \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0434\u0438\u0430\u043b\u043e\u0433\u0430 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. \u0425\u043e\u0440\u043e\u0448\u043e, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043a\u043b\u0430\u0441\u0441 Connect, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043f\u0438\u0448\u0435\u043c 3 \u043c\u0435\u0442\u043e\u0434\u0430 \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 API (\u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0438\u0437 \u0434\u0438\u0430\u043b\u043e\u0433\u0430, \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0434\u0438\u0430\u043b\u043e\u0433\u0430) \u0438 \u043c\u0435\u0442\u043e\u0434-\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u044b\u0448\u0435\u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044b\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c.<\/p>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432\u0435\u0441\u044c \u043a\u043e\u0434:<\/p>\n<pre><code class=\"python\">import os import sys import json import urllib2 import vk_auth  os.system(&quot;clear&quot;)  app_id = &quot;4925055&quot; login = raw_input(u&quot;Enter your login: &quot;) password = raw_input(u&quot;Enter your pass: &quot;)  class Connect: \tdef __init__(self,app_id,login,password): \t\tself.access_token = vk_auth.auth(login, password, app_id, &quot;offline,messages&quot;)[0] \t\tprint(self.access_token) \t\tself.layer = &quot;&quot; \t\tself.uid = &quot;&quot; \t\tself.section = &quot;&quot;  \tdef dialog(self, uid=False): \t\tif uid != self.uid and uid: \t\t\tself.uid = uid \t\tself.layer = &quot;&quot; \t\tself.section = &quot;dialog&quot; \t\tdialog = json.loads(urllib2.urlopen(&quot;https:\/\/api.vk.com\/method\/messages.getHistory?count=20&user_id=%s&access_token=%s&v=5.33&quot; % (self.uid, self.access_token)).read().decode(&quot;utf-8&quot;)) \t\tfor item in reversed(dialog[&quot;response&quot;][&quot;items&quot;]): \t\t\tuser = json.loads(urllib2.urlopen(&quot;https:\/\/api.vk.com\/method\/users.get?user_id=%s&fields=contacts&access_token%s&v=5.8&quot; % (item[&quot;from_id&quot;],self.access_token)).read().decode(&quot;utf-8&quot;))[&quot;response&quot;][0]; \t\t\tself.layer+= &quot;%s %s (%s):\\n&quot; % (user[&quot;first_name&quot;], user[&quot;last_name&quot;], item[&quot;user_id&quot;]) \t\t\tself.layer+= &quot;%s \\n&quot; % item[&quot;body&quot;] \t\t\tself.layer+= &quot;-------------------------------------------- \\n&quot;  \tdef dialogs(self): \t\tself.layer = &quot;&quot; \t\tself.section = &quot;dialogs&quot; \t\tdialogs = json.loads(urllib2.urlopen(&quot;https:\/\/api.vk.com\/method\/messages.getDialogs?count=10&access_token=%s&v=5.33&quot; % (self.access_token)).read().decode(&quot;utf-8&quot;)) \t\tfor item in reversed(dialogs[&quot;response&quot;][&quot;items&quot;]): \t\t\tuser = json.loads(urllib2.urlopen(&quot;https:\/\/api.vk.com\/method\/users.get?user_id=%s&fields=contacts,online&access_token%s&v=5.8&quot; % (item[&quot;message&quot;][&quot;user_id&quot;],self.access_token)).read().decode(&quot;utf-8&quot;))[&quot;response&quot;][0]; \t\t\tif (user[&quot;online&quot;] == 1): \t\t\t\tuser[&quot;online&quot;] = &quot;online&quot; \t\t\telse: \t\t\t\tuser[&quot;online&quot;] = &quot;offline&quot; \t\t\tself.layer+= &quot;%s %s [%s] (%s):\\n&quot; % (user[&quot;first_name&quot;], user[&quot;last_name&quot;], user[&quot;online&quot;], item[&quot;message&quot;][&quot;user_id&quot;]) \t\t\tself.layer+= &quot;%s \\n&quot; % item[&quot;message&quot;][&quot;body&quot;] \t\t\tself.layer+= &quot;--------------------------------------------\\n&quot;\t  \tdef send(self, message): \t\tmessage = urllib2.quote(message).encode('utf8') \t\tdialog = json.loads(urllib2.urlopen(&quot;https:\/\/api.vk.com\/method\/messages.send?user_id=%s&message=%s&access_token=%s&v=5.33&quot; % (self.uid, message, self.access_token)).read().decode(&quot;utf-8&quot;)) \t\tself.controll(&quot;r&quot;)  \tdef controll(self, input): \t\tprint (&quot;====LOADING====&quot;) \t\tif input == &quot;d&quot;: \t\t\tself.dialogs() \t\telif input == &quot;exit&quot;: \t\t\tos.system(&quot;clear&quot;) \t\t\tsys.exit(0) \t\telif input == &quot;&quot;: \t\t\tself.layer = &quot;&quot; \t\telif self.section == &quot;dialogs&quot;: \t\t\tif input == &quot;r&quot;: \t\t\t\tself.dialogs() \t\t\telse: \t\t\t\tself.dialog(input) \t\telif self.section == &quot;dialog&quot;: \t\t\tif input == &quot;r&quot;: \t\t\t\tself.dialog() \t\t\telse: \t\t\t\tself.send(input) \t\tos.system(&quot;clear&quot;) \t\tprint (self.layer) \t\tself.controll(&quot;%s&quot; % raw_input(&quot;Enter command: \\n&quot;))   vk = Connect(app_id,login,password) vk.controll(&quot;&quot;) <\/code><\/pre>\n<p>  \u0418\u0442\u0430\u043a, \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442:<\/p>\n<p>  1. \u041c\u044b \u0432\u0432\u043e\u0434\u0438\u043c \u0441\u0432\u043e\u0439 \u043b\u043e\u0433\u0438\u043d \u0438 \u043f\u0430\u0440\u043e\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 login \u0438 password \u0441\u043e\u043e\u0442\u0432\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e;<br \/>  2. \u0421\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 Connect, \u0432 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0442\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u043b\u043e\u0433\u0438\u043d, \u043f\u0430\u0440\u043e\u043b\u044c \u0438 id \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0412\u041a;<br \/>  3. \u0412 \u043c\u0435\u0442\u043e\u0434\u0435 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0442\u043e\u043a\u0435\u043d\u0430 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0435\u0433\u043e \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043a\u043b\u0430\u0441\u0441\u0430;<br \/>  4. \u041f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u044b\u0437\u043e\u0432 \u043c\u0435\u0442\u043e\u0434\u0430 controll \u043a\u043b\u0430\u0441\u0441\u0430 Connect \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u043f\u0443\u0441\u0442\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u044d\u043a\u0440\u0430\u043d \u043a\u043e\u043d\u0441\u043e\u043b\u0438;<br \/>  5. \u0414\u0430\u043b\u0435\u0435 \u0441\u043a\u0440\u0438\u043f\u0442 \u0436\u0434\u0435\u0442 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b.<\/p>\n<p>  \u041a\u043e\u043c\u0430\u043d\u0434\u044b \u0442\u0430\u043a\u043e\u0432\u044b:<\/p>\n<ul>\n<li>\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 10 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u00abd\u00bb<\/li>\n<li>\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u2014 \u00abr\u00bb<\/li>\n<li>\u043f\u0443\u0441\u0442\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u2014 \u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u044d\u043a\u0440\u0430\u043d, \u0447\u0442\u043e\u0431\u044b \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0443\u0432\u0438\u0434\u0435\u043b \u043d\u0438\u0447\u0435\u0433\u043e \u043b\u0438\u0448\u043d\u0435\u0433\u043e \ud83d\ude42<\/li>\n<li>\u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043a \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c\u0443 \u0434\u0438\u0430\u043b\u043e\u0433\u0443 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c ID \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u044e\u0437\u0435\u0440\u0430<\/li>\n<li>\u043d\u0430\u0445\u043e\u0434\u044f\u0441\u044c \u0432\u043d\u0443\u0442\u0440\u0438 \u0434\u0438\u0430\u043b\u043e\u0433\u0430, \u043b\u044e\u0431\u043e\u0439 \u0442\u0435\u043a\u0441\u0442, \u043d\u0435 \u0440\u0430\u0432\u043d\u044b\u0439 \u00abr\u00bb, \u00abd\u00bb, \u00ab\u00bb \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u044e\u0437\u0435\u0440\u0443<\/li>\n<\/ul>\n<p>  \u0412\u043e\u0442 \u0432 \u0446\u0435\u043b\u043e\u043c \u0438 \u0432\u0441\u0435. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0435 \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u0443\u0435\u0442 \u043d\u0430 \u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043a\u0440\u0443\u0442\u043e\u0439 \u0444\u0438\u0447\u0438, \u043d\u043e \u0432\u0441\u0435 \u0436\u0435 \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u0430\u0445 \u043c\u043e\u0436\u0435\u0442 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c.<br \/>  \u041d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. \u0427\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0432\u044b\u0432\u043e\u0434 \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u0430\u0443\u0434\u0438\u043e, \u0432\u0438\u0434\u0435\u043e, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0440\u0435\u043f\u043e\u0441\u0442\u043e\u0432 \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0439, \u0430 \u0435\u0441\u043b\u0438 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044e, \u0442\u043e \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439, \u0444\u043e\u0440\u043a\u043d\u0443\u0432 \u044d\u0442\u043e\u0442 \u043a\u043e\u0434.<\/p>\n<p>  \u0414\u0443\u0431\u043b\u0438\u0440\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 <a href=\"https:\/\/github.com\/AndreyPerelygin\/vkConsole\">GitHub<\/a>.<\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435!       <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/270717\/\"> http:\/\/habrahabr.ru\/post\/270717\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u041a\u0430\u043a-\u0442\u043e \u043c\u0435\u043d\u044f \u043e\u0441\u0435\u043d\u0438\u043b\u0430 \u043c\u044b\u0441\u043b\u044c: \u00ab\u0417\u0430\u0447\u0435\u043c \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0432\u043a\u043b\u0430\u0434\u043a\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0441 \u0412\u041a \u043e\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u0441\u0442\u0432\u0430, \u0435\u0441\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u0435\u0435 \u0437\u0430\u043c\u0430\u0441\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c?\u00bb<\/p>\n<p>  \u0418 \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043c\u043e\u0435\u043c\u0443 \u043d\u0430\u0447\u0430\u043b\u044c\u0441\u0442\u0432\u0443 \u0432 \u0446\u0435\u043b\u043e\u043c \u043f\u043e\u0444\u0438\u0433 \u043d\u0430 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0442\u0438 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b, \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0438\u043d\u0443\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0431\u044b\u043b\u0430 \u0440\u0435\u0448\u0435\u043d\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044f \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u0430\u043c \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-268047","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/268047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=268047"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/268047\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=268047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=268047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=268047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}