{"id":291074,"date":"2018-10-19T19:45:03","date_gmt":"2018-10-19T15:45:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=291074"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=291074","title":{"rendered":"\u0414\u043e\u0431\u044b\u0447\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0422\u0432\u0438\u0442\u0442\u0435\u0440\u0430"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\n<p>\u0421\u0440\u0435\u0434\u0438 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u0435\u0439 \u0422\u0432\u0438\u0442\u0442\u0435\u0440 \u0431\u043e\u043b\u0435\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0434\u043e\u0431\u044b\u0447\u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0441\u0438\u043b\u0443 \u0436\u0435\u0441\u0442\u043a\u043e\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0434\u043b\u0438\u043d\u0443 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0432\u044b\u043d\u0443\u0436\u0434\u0435\u043d\u044b \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u0430\u043c\u043e\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435.<\/p>\n<p>  <\/p>\n<p><em>\u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0443\u0433\u0430\u0434\u0430\u0442\u044c, \u043a\u0430\u043a\u0443\u044e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u043e\u0431\u0440\u0430\u043c\u043b\u044f\u0435\u0442 \u044d\u0442\u043e \u043e\u0431\u043b\u0430\u043a\u043e \u0441\u043b\u043e\u0432?<\/em><\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/bk\/lk\/fr\/bklkfremupdgq9qu0sl1qwtg5rs.png\" alt=\"\u041e\u0431\u043b\u0430\u043a\u043e\"><\/p>\n<p>  <\/p>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0422\u0432\u0438\u0442\u0442\u0435\u0440 API \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0442\u044c \u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u0443\u044e \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u0421\u0442\u0430\u0442\u044c\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f R.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p>\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0435 \u0442\u0430\u043a \u0443\u0436 \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0438\u0437-\u0437\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0438 <a href=\"https:\/\/github.com\/r-lib\/httr\/issues\/156\">\u0443\u0436\u0435\u0441\u0442\u043e\u0447\u0435\u043d\u0438\u044f<\/a> \u0422\u0432\u0438\u0442\u0442\u0435\u0440 API, \u0441\u0443\u0434\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u0432\u0441\u0435\u0440\u044c\u0435\u0437 \u043e\u0437\u0430\u0431\u043e\u0442\u0438\u043b\u0430\u0441\u044c \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0441\u043b\u0435 <a href=\"https:\/\/goo.gl\/u2NrFE\">\u0432\u044b\u0432\u043e\u043b\u043e\u0447\u043a\u0438 \u0432 \u041a\u043e\u043d\u0433\u0440\u0435\u0441\u0441\u0435 \u0421\u0428\u0410<\/a> \u043f\u043e \u0441\u043b\u0435\u0434\u0430\u043c \u0440\u0430\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u043b\u0438\u044f\u043d\u0438\u044f \u00ab\u0440\u0443\u0441\u0441\u043a\u0438\u0445 \u0445\u0430\u043a\u0435\u0440\u043e\u0432\u00bb \u043d\u0430 \u0432\u044b\u0431\u043e\u0440\u044b \u0432 \u0421\u0428\u0410 \u0432 2016 \u0433.<\/p>\n<p>  <\/p>\n<h1 id=\"poluchenie-dostupa-k-api\">\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a API<\/h1>\n<p>  <\/p>\n<p>\u0417\u0430\u0447\u0435\u043c \u043a\u043e\u043c\u0443-\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0442\u044c \u0432 \u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u044b\u0445 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0445 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0422\u0432\u0438\u0442\u0442\u0435\u0440? \u041d\u0443 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u044d\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c <a href=\"https:\/\/arxiv.org\/pdf\/1411.1243.pdf\">\u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0447\u043d\u044b\u0435<\/a> \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u044b \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0441\u0445\u043e\u0434\u0430 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439. \u041d\u043e \u044f \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438.<\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0422\u0432\u0438\u0442\u0442\u0435\u0440 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u043d\u043e\u043c\u0435\u0440\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430. \u042d\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u0448\u0430\u0433 \u0434\u0430\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a API.<\/p>\n<p>  <\/p>\n<p>\u0417\u0430\u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 <a href=\"https:\/\/developer.twitter.com\/en\/apps\">\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430<\/a> \u0438 \u0436\u043c\u0435\u043c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 <a href=\"https:\/\/developer.twitter.com\/en\/apps\/create\">Create an app<\/a>. \u0414\u0430\u043b\u0435\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0430 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0430\u0434\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438. \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043f\u043e\u043b\u0435\u0439.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ub\/vq\/bm\/ubvqbmq-rsv1kxgmxiwvm1v-ux0.png\" alt=\"apps\"><\/p>\n<p>  <\/p>\n<ul>\n<li><strong>AppName<\/strong> \u2014 \u0438\u043c\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f (\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e).<\/li>\n<li><strong>Application description<\/strong> \u2014 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f (\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e).<\/li>\n<li><strong>Website URL<\/strong> \u2014 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u0430\u0439\u0442\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f (\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e), \u043c\u043e\u0436\u043d\u043e \u0432\u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0441\u0435, \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e \u043f\u043e\u0445\u043e\u0436\u0435\u0435 \u043d\u0430 URL.<\/li>\n<li><strong>Enable Sign in with Twitter<\/strong> (check box) \u2014 \u0412\u0445\u043e\u0434 \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0422\u0432\u0438\u0442\u0442\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c.<\/li>\n<li><strong>Callback URLs<\/strong> \u2014 \u041e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0432\u044b\u0437\u043e\u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u0440\u0438 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 (\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e) \u0438 <em>\u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e<\/em>, \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c <code>http:\/\/127.0.0.1:1410<\/code>.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0442 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043a \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044f: \u0430\u0434\u0440\u0435\u0441 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0443\u0441\u043b\u043e\u0432\u0438\u0439 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u0441\u043b\u0443\u0433, \u0438\u043c\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043f\u0440\u043e\u0447.<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u0442\u0440\u0435\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432.<\/p>\n<p>  <\/p>\n<ul>\n<li><strong>Standard<\/strong> \u2014 \u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u0430 \u0433\u043b\u0443\u0431\u0438\u043d\u0443 \u2264 7 \u0434\u043d\u0435\u0439, \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439.<\/li>\n<li><strong>Premium<\/strong> \u2014 \u0411\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u0430 \u0433\u043b\u0443\u0431\u0438\u043d\u0443 \u2264 30 \u0434\u043d\u0435\u0439 \u0438 \u0441 2006 \u0433. \u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439, \u043d\u043e \u0434\u0430\u044e\u0442 \u043d\u0435 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044e \u0437\u0430\u044f\u0432\u043a\u0438.<\/li>\n<li><strong>Enterprise<\/strong> \u2014 \u0411\u0438\u0437\u043d\u0435\u0441-\u043a\u043b\u0430\u0441\u0441, \u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0438 \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0442\u0430\u0440\u0438\u0444.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u042f \u0432\u044b\u0431\u0440\u0430\u043b <strong>Premium<\/strong>, \u0436\u0434\u0430\u0442\u044c \u043e\u0434\u043e\u0431\u0440\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043e\u043a\u043e\u043b\u043e \u043d\u0435\u0434\u0435\u043b\u0438. \u041d\u0435 \u043c\u043e\u0433\u0443 \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0441\u0435\u043c-\u043b\u0438 \u043f\u043e\u0434\u0440\u044f\u0434 \u0434\u0430\u044e\u0442 \u0435\u0433\u043e, \u043d\u043e \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0441\u0442\u043e\u0438\u0442 \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0430 <strong>Standard<\/strong> \u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435 \u0434\u0435\u043d\u0435\u0442\u0441\u044f.<\/p>\n<p>  <\/p>\n<h1 id=\"podklyuchenie-k-tvitteru\">\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0422\u0432\u0438\u0442\u0442\u0435\u0440\u0443<\/h1>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0435 <em>Keys and tokens<\/em> \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043d\u0430\u0431\u043e\u0440 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b. \u041d\u0438\u0436\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 R.<\/p>\n<p>  <\/p>\n<p><em>Consumer API keys<\/em><\/p>\n<p>  <\/p>\n<ul>\n<li><strong>API key<\/strong> \u2014 <code>api_key<\/code><\/li>\n<li><strong>API secret key<\/strong> \u2014 <code>api_secret<\/code><\/li>\n<\/ul>\n<p>  <\/p>\n<p><em>Access token &amp; access token secret<\/em><\/p>\n<p>  <\/p>\n<ul>\n<li><strong>Access token<\/strong> \u2014 <code>access_token<\/code><\/li>\n<li><strong>Access token secret<\/strong> \u2014 <code>access_token_secret<\/code><\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b.<\/p>\n<p>  <\/p>\n<pre><code>install.packages(\"rtweet\") install.packages(\"tm\") install.packages(\"wordcloud\")<\/code><\/pre>\n<p>  <\/p>\n<p>\u042d\u0442\u0430 \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.<\/p>\n<p>  <\/p>\n<pre><code>library(\"rtweet\") api_key &lt;- \"\" api_secret &lt;- \"\" access_token &lt;- \"\" access_token_secret &lt;- \"\" appname=\"\" setup_twitter_oauth (   api_key,   api_secret,   access_token,   access_token_secret)<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 R \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043a\u043e\u0434\u044b <code>OAuth<\/code> \u043d\u0430 \u0434\u0438\u0441\u043a\u0435, \u0434\u043b\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>  <\/p>\n<pre><code>[1] \"Using direct authentication\" Use a local file to cache OAuth access credentials between R sessions? 1: Yes 2: No<\/code><\/pre>\n<p>  <\/p>\n<p>\u041e\u0431\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u044b, \u044f \u0432\u044b\u0431\u0440\u0430\u043b 1-\u0439.<\/p>\n<p>  <\/p>\n<h1 id=\"poisk-i-filtraciya-rezultatov\">\u041f\u043e\u0438\u0441\u043a \u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432<\/h1>\n<p>  <\/p>\n<pre><code>tweets &lt;- search_tweets(\"hadoop\", include_rts=FALSE, n=600)<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u043b\u044e\u0447 <code>include_rts<\/code> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0432 \u043f\u043e\u0438\u0441\u043a, \u0438\u043b\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438\u0437 \u043d\u0435\u0433\u043e \u0440\u0435\u0442\u0432\u0438\u0442\u043e\u0432. \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e\u043c \u043f\u043e\u043b\u0435\u0439, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0435\u0441\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0438 \u0434\u0435\u0442\u0430\u043b\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438. \u0412\u043e\u0442 \u043f\u0435\u0440\u0432\u044b\u0435 20.<\/p>\n<p>  <\/p>\n<pre><code>&gt; head(names(tweets), n=20)  [1] \"user_id\"              \"status_id\"            \"created_at\"  [4] \"screen_name\"          \"text\"                 \"source\"  [7] \"display_text_width\"   \"reply_to_status_id\"   \"reply_to_user_id\" [10] \"reply_to_screen_name\" \"is_quote\"             \"is_retweet\" [13] \"favorite_count\"       \"retweet_count\"        \"hashtags\" [16] \"symbols\"              \"urls_url\"             \"urls_t.co\" [19] \"urls_expanded_url\"    \"media_url\"<\/code><\/pre>\n<p>  <\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u043f\u043e\u0438\u0441\u043a\u0430.<\/p>\n<p>  <\/p>\n<pre><code>search_string &lt;- paste0(c(\"data mining\",\"#bigdata\"),collapse = \"+\") search_tweets(search_string, include_rts=FALSE, n=100)<\/code><\/pre>\n<p>  <\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u0438\u0441\u043a\u0430 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0444\u0430\u0439\u043b\u0435.<\/p>\n<p>  <\/p>\n<pre><code>write.table(tweets$text, file=\"datamine.txt\")<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u043b\u0438\u0432\u0430\u0435\u043c \u0432 \u043a\u043e\u0440\u043f\u0443\u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u0432, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044e \u043e\u0442 \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u044b\u0445 \u0441\u043b\u043e\u0432, \u0437\u043d\u0430\u043a\u043e\u0432 \u043f\u0443\u043d\u043a\u0442\u0443\u0430\u0446\u0438\u0438 \u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c \u0432\u0441\u0435 \u0432 \u043d\u0438\u0436\u043d\u0438\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440.<\/p>\n<p>  <\/p>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0435\u0449\u0435 \u043e\u0434\u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u2014 <code>searchTwitter<\/code>, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <code>twitteR<\/code>. \u0412 \u0447\u0435\u043c-\u0442\u043e \u043e\u043d\u0430 \u0443\u0434\u043e\u0431\u043d\u0435\u0435 <code>search_tweets<\/code>, \u0430 \u0432 \u0447\u0435\u043c-\u0442\u043e \u0435\u0439 \u0443\u0441\u0442\u0443\u043f\u0430\u0435\u0442.<\/p>\n<p>  <\/p>\n<p><strong>\u041f\u043b\u044e\u0441<\/strong> \u2014 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u0430 \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>  <\/p>\n<pre><code>  tweets &lt;- searchTwitter(\"hadoop\", since=\"2017-09-01\", n=500)   text = sapply(tweets, function(x) x$getText())<\/code><\/pre>\n<p>  <\/p>\n<p><strong>\u041c\u0438\u043d\u0443\u0441<\/strong> \u2014 \u0432\u044b\u0432\u043e\u0434 \u043d\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u0430, \u0430 \u043e\u0431\u044a\u0435\u043a\u0442 \u0442\u0438\u043f\u0430 <code>status<\/code>. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0437 \u0432\u044b\u0432\u043e\u0434\u0430 \u0432\u044b\u0447\u043b\u0435\u043d\u0438\u0442\u044c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435. \u042d\u0442\u043e \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 <code>sapply<\/code> \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435.<\/p>\n<p>  <\/p>\n<pre><code>corpus &lt;- Corpus(VectorSource(tweets$text))   clearCorpus &lt;- tm_map(corpus, function(x) iconv(enc2utf8(x), sub = \"byte\"))  tdm &lt;- TermDocumentMatrix(clearCorpus, control =     list(removePunctuation = TRUE,         stopwords = c(\"com\", \"https\", \"hadoop\", stopwords(\"english\")),         removeNumbers = TRUE,         tolower = TRUE))<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044f <code>tm_map<\/code> \u043d\u0443\u0436\u043d\u0430 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u0432\u0441\u044f\u043a\u0438\u0435 \u044d\u043c\u043e\u0434\u0436\u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0435, \u0438\u043d\u0430\u0447\u0435 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u044f \u0432 \u043d\u0438\u0436\u043d\u0438\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <code>tolower<\/code> \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044f \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439.<\/p>\n<p>  <\/p>\n<h1 id=\"postroenie-oblaka-slov\">\u041f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u043e\u0431\u043b\u0430\u043a\u0430 \u0441\u043b\u043e\u0432<\/h1>\n<p>  <\/p>\n<p>\u041e\u0431\u043b\u0430\u043a\u0430 \u0441\u043b\u043e\u0432 \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043d\u0430 \u0444\u043e\u0442\u043e-\u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0435 <a href=\"http:\/\/flickr.com\/\">\u0424\u043b\u0438\u043a\u0440<\/a>, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u0438 \u0441 \u0442\u0435\u0445 \u043f\u043e\u0440 \u043e\u0431\u0440\u0435\u043b\u0438 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <code>wordcloud<\/code>.<\/p>\n<p>  <\/p>\n<pre><code>m &lt;- as.matrix(tdm) word_freqs &lt;- sort(rowSums(m), decreasing=TRUE) dm &lt;- data.frame(word=names(word_freqs), freq=word_freqs)  wordcloud(dm$word, dm$freq, scale=c(3, .5), random.order=FALSE, colors=brewer.pal(8, \"Dark2\"))<\/code><\/pre>\n<p>  <\/p>\n<p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f <code>search_string<\/code> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u0434\u0430\u0442\u044c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u044f\u0437\u044b\u043a.<\/p>\n<p>  <\/p>\n<pre><code>search_tweets(search_string, include_rts=FALSE, n=100, lang=\"ru\")<\/code><\/pre>\n<p>  <\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u0432\u0432\u0438\u0434\u0443 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e NLP \u043f\u0430\u043a\u0435\u0442 \u0434\u043b\u044f R \u043f\u043b\u043e\u0445\u043e \u0440\u0443\u0441\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u043d\u0435\u0442 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u044b\u0445, \u0438\u043b\u0438 \u0441\u0442\u043e\u043f-\u0441\u043b\u043e\u0432, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u043e\u0431\u043b\u0430\u043a\u0430 \u0441\u043b\u043e\u0432 \u0441 \u043f\u043e\u0438\u0441\u043a\u043e\u043c \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u0443 \u043c\u0435\u043d\u044f \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c. \u0411\u0443\u0434\u0443 \u0440\u0430\u0434, \u0435\u0441\u043b\u0438 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043d\u0430\u0439\u0434\u0443\u0442 \u043b\u0443\u0447\u0448\u0435\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/p>\n<p>  <\/p>\n<p>\u041d\u0443, \u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e&#8230;<\/p>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0441\u043a\u0440\u0438\u043f\u0442 \u0446\u0435\u043b\u0438\u043a\u043e\u043c<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>library(\"rtweet\") library(\"tm\") library(\"wordcloud\")  api_key &lt;- \"\" api_secret &lt;- \"\" access_token &lt;- \"\" access_token_secret &lt;- \"\" appname=\"\" setup_twitter_oauth (   api_key,   api_secret,   access_token,   access_token_secret)  oauth_callback &lt;- \"http:\/\/127.0.0.1:1410\" setup_twitter_oauth (api_key, api_secret, access_token, access_token_secret) appname=\"my_app\"  twitter_token &lt;- create_token(app = appname, consumer_key = api_key, consumer_secret = api_secret) tweets &lt;- search_tweets(\"devops\", include_rts=FALSE, n=600)  corpus &lt;- Corpus(VectorSource(tweets$text)) clearCorpus &lt;- tm_map(corpus, function(x) iconv(enc2utf8(x), sub = \"byte\"))  tdm &lt;- TermDocumentMatrix(clearCorpus, control =     list(removePunctuation = TRUE,         stopwords = c(\"com\", \"https\", \"drupal\", stopwords(\"english\")),         removeNumbers = TRUE,         tolower = TRUE))  m &lt;- as.matrix(tdm) word_freqs &lt;- sort(rowSums(m), decreasing=TRUE) dm &lt;- data.frame(word=names(word_freqs), freq=word_freqs)  wordcloud(dm$word, dm$freq, scale=c(3, .5), random.order=FALSE, colors=brewer.pal(8, \"Dark2\"))<\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<h2 id=\"ispolzovannye-materialy\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b.<\/h2>\n<p>  <\/p>\n<p>\u041a\u0440\u0430\u0442\u043a\u0438\u0435 \u0441\u0441\u044b\u043b\u043a\u0438:<\/p>\n<p>  <\/p>\n<ul>\n<li><a href=\"https:\/\/goo.gl\/52po2q\">Collecting Twitter Data: Getting Started<\/a><\/li>\n<li><a href=\"https:\/\/goo.gl\/53U87V\">Using R to Mine and Analyse Popular Sentiments<\/a><\/li>\n<li><a href=\"https:\/\/goo.gl\/UUWfDz\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 Twitter API \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/a><\/li>\n<li><a href=\"https:\/\/goo.gl\/JcHtSC\">Explore Twitter Data Using R<\/a><\/li>\n<li><a href=\"https:\/\/goo.gl\/mhN1Ei\">Introduction to the tm Package, Text Mining in R<\/a><\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438:<\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/stats.seandolinar.com\/collecting-twitter-data-getting-started\/\">https:\/\/stats.seandolinar.com\/collecting-twitter-data-getting-started\/<\/a><br \/>  <a href=\"https:\/\/opensourceforu.com\/2018\/07\/using-r-to-mine-and-analyse-popular-sentiments\/\">https:\/\/opensourceforu.com\/2018\/07\/using-r-to-mine-and-analyse-popular-sentiments\/<\/a><br \/>  <a href=\"http:\/\/dkhramov.dp.ua\/images\/edu\/Stu.WebMining\/ch17_twitter.pdf\">http:\/\/dkhramov.dp.ua\/images\/edu\/Stu.WebMining\/ch17_twitter.pdf<\/a><br \/>  <a href=\"http:\/\/opensourceforu.com\/2018\/02\/explore-twitter-data-using-r\/\">http:\/\/opensourceforu.com\/2018\/02\/explore-twitter-data-using-r\/<\/a><br \/>  <a href=\"https:\/\/cran.r-project.org\/web\/packages\/tm\/vignettes\/tm.pdf\">https:\/\/cran.r-project.org\/web\/packages\/tm\/vignettes\/tm.pdf<\/a><\/p>\n<p>  <\/p>\n<p>P. S. \u041f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430, \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u043e\u0431\u043b\u0430\u043a\u0430 \u043d\u0430 \u041a\u0414\u041f\u0412 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435, \u043e\u043d\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u0441 \u043c\u043e\u0435\u0439 <a href=\"https:\/\/habr.com\/post\/425649\/\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435\u0439<\/a>.<\/p>\n<\/div>\n<p>        <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/post\/426657\/\"> https:\/\/habr.com\/post\/426657\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\n<p>\u0421\u0440\u0435\u0434\u0438 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u0435\u0439 \u0422\u0432\u0438\u0442\u0442\u0435\u0440 \u0431\u043e\u043b\u0435\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0434\u043e\u0431\u044b\u0447\u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0441\u0438\u043b\u0443 \u0436\u0435\u0441\u0442\u043a\u043e\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0434\u043b\u0438\u043d\u0443 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0432\u044b\u043d\u0443\u0436\u0434\u0435\u043d\u044b \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u0430\u043c\u043e\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435.<\/p>\n<p>  <\/p>\n<p><em>\u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0443\u0433\u0430\u0434\u0430\u0442\u044c, \u043a\u0430\u043a\u0443\u044e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u043e\u0431\u0440\u0430\u043c\u043b\u044f\u0435\u0442 \u044d\u0442\u043e \u043e\u0431\u043b\u0430\u043a\u043e \u0441\u043b\u043e\u0432?<\/em><\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/bk\/lk\/fr\/bklkfremupdgq9qu0sl1qwtg5rs.png\" alt=\"\u041e\u0431\u043b\u0430\u043a\u043e\"><\/p>\n<p>  <\/p>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0422\u0432\u0438\u0442\u0442\u0435\u0440 API \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0442\u044c \u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u0443\u044e \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u0421\u0442\u0430\u0442\u044c\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f R.<\/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-291074","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/291074","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=291074"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/291074\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=291074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=291074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=291074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}