{"id":1867,"date":"2013-11-15T20:46:08","date_gmt":"2013-11-15T16:46:08","guid":{"rendered":"https:\/\/blog.alwawee.ru\/?p=1867"},"modified":"2014-07-28T22:35:35","modified_gmt":"2014-07-28T18:35:35","slug":"code-for-two-essential-buttons-write-a-review-and-send-a-letter-to-developers","status":"publish","type":"post","link":"https:\/\/blog.alwawee.ru\/?p=1867","title":{"rendered":"Code for Two Essential Buttons for iOS: Write a Review and Send a Letter To Developers"},"content":{"rendered":"<p>Code for Two Essential Buttons: Write a Review and Send a Letter To Developers. These buttons are often required in a mobile application to collect a feedback from users and to allow them write a review to your app more quickly and comfortable. It also includes some system information. It is in Russian, but no problem to translate it.<\/p>\n<pre>- (void)writeReviewClicked\r\n{\r\n  NSString *url = @\"https:\/\/itunes.apple.com\/ru\/app\/yourapp.ru\/id662863746?mt=8\";\r\n\tNSString *escapedUrl = [url stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];\r\n\t[[UIApplication sharedApplication] openURL:[NSURL URLWithString:escapedUrl]];\r\n}\r\n\r\n- (void)sendLetterClicked\r\n{\r\n  NSString *subject = [NSString stringWithFormat:@\"%@ %@\", @\"\u041f\u0438\u0441\u044c\u043c\u043e \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\", @\"YourApp \u0434\u043b\u044f iOS\"];\r\n\r\n  NSDate *today = [NSDate date];\r\n  NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];\r\n  dateFormatter.timeStyle = NSDateFormatterMediumStyle;\r\n  dateFormatter.dateStyle = NSDateFormatterMediumStyle;\r\n  NSString *todayString = [dateFormatter stringFromDate:today];\r\n\r\n  NSMutableString *temp = [NSMutableString new];\r\n  [temp appendFormat:@\"\\n\\n\\n\\n\\n-----------------------\\nC\u0438\u0441\u0442\u0435\u043c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u043d\u0430\u043c \u0432 \u043e\u0442\u043b\u0430\u0434\u043a\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.\\n-----------------------\\n\"];\r\n  [temp appendFormat:@\"\u0412\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f: %@\\n\", UD_OBJECT(UDKeyVersion)];\r\n  [temp appendFormat:@\"\u0412\u0435\u0440\u0441\u0438\u044f iOS: %@\\n\", [[UIDevice currentDevice] systemVersion]];\r\n  [temp appendFormat:@\"\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e: %@\\n\", [[UIDevice currentDevice] deviceName]];\r\n  [temp appendFormat:@\"\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435: %@\\n\", [[RRHelper defaultHelper] networkStatusString]];\r\n  [temp appendFormat:@\"\u0418\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f: %@ \\n\", UD_OBJECT(UDKeyPersonEmail)];\r\n  [temp appendFormat:@\"\u0414\u0430\u0442\u0430: %@ \\n\", todayString];\r\n  [temp appendFormat:@\"-----------------------\\n\"];\r\n\r\n  MFMailComposeViewController *controller = [[MFMailComposeViewController alloc] init];\r\n  [controller setSubject:subject];\r\n  [controller setToRecipients:@[@\"your@email.ru\"]];\r\n  [controller setMessageBody:temp isHTML:NO];\r\n  controller.mailComposeDelegate = self;\r\n  [self presentViewController:controller animated:YES completion:nil];\r\n}\r\n\r\n#pragma mark - MFMailComposeViewControllerDelegate\r\n\r\n- (void) mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error\r\n{\r\n\tswitch (result) {\r\n\t\tcase MFMailComposeResultCancelled:\r\n    {\r\n\t\t\tbreak;\r\n    }\r\n\t\tcase MFMailComposeResultFailed:\r\n    {\r\n      [RRHelper showErrorMessage:@\"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u0438\u0441\u044c\u043c\u043e.\"];\r\n\t\t\tbreak;\r\n    }\r\n\t\tcase MFMailComposeResultSent:\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t}\r\n\r\n  [self dismissModalViewControllerAnimated:YES];\r\n  [self dismissViewControllerAnimated:YES completion:nil];\r\n}<\/pre>\n<p>Use this category to get a more precise device name:<\/p>\n<pre>\/\/\r\n\/\/  UIDevice+machine.m\r\n\/\/\r\n\/\/  Created by Dennis Kutlubaev on 15.11.13.\r\n\/\/\r\n\r\n#import \"UIDevice+machine.h\"\r\n\r\n#import \r\n\r\n@implementation UIDevice(deviceName)\r\n\r\n- (NSString*)deviceName {\r\n\r\n  struct utsname systemInfo;\r\n\r\n  uname(&amp;systemInfo);\r\n\r\n  NSString *machineName = [NSString stringWithCString:systemInfo.machine encoding:NSUTF8StringEncoding];\r\n\r\n  NSDictionary *commonNamesDictionary =\r\n  @{\r\n    @\"i386\":     @\"iPhone Simulator\",\r\n    @\"x86_64\":   @\"iPad Simulator\",\r\n\r\n    @\"iPhone1,1\":    @\"iPhone\",\r\n    @\"iPhone1,2\":    @\"iPhone 3G\",\r\n    @\"iPhone2,1\":    @\"iPhone 3GS\",\r\n    @\"iPhone3,1\":    @\"iPhone 4\",\r\n    @\"iPhone3,2\":    @\"iPhone 4(Rev A)\",\r\n    @\"iPhone3,3\":    @\"iPhone 4(CDMA)\",\r\n    @\"iPhone4,1\":    @\"iPhone 4S\",\r\n    @\"iPhone5,1\":    @\"iPhone 5(GSM)\",\r\n    @\"iPhone5,2\":    @\"iPhone 5(GSM+CDMA)\",\r\n    @\"iPhone5,3\":    @\"iPhone 5c(GSM)\",\r\n    @\"iPhone5,4\":    @\"iPhone 5c(GSM+CDMA)\",\r\n    @\"iPhone6,1\":    @\"iPhone 5s(GSM)\",\r\n    @\"iPhone6,2\":    @\"iPhone 5s(GSM+CDMA)\",\r\n\r\n    @\"iPad1,1\":  @\"iPad\",\r\n    @\"iPad2,1\":  @\"iPad 2(WiFi)\",\r\n    @\"iPad2,2\":  @\"iPad 2(GSM)\",\r\n    @\"iPad2,3\":  @\"iPad 2(CDMA)\",\r\n    @\"iPad2,4\":  @\"iPad 2(WiFi Rev A)\",\r\n    @\"iPad2,5\":  @\"iPad Mini(WiFi)\",\r\n    @\"iPad2,6\":  @\"iPad Mini(GSM)\",\r\n    @\"iPad2,7\":  @\"iPad Mini(GSM+CDMA)\",\r\n    @\"iPad3,1\":  @\"iPad 3(WiFi)\",\r\n    @\"iPad3,2\":  @\"iPad 3(GSM+CDMA)\",\r\n    @\"iPad3,3\":  @\"iPad 3(GSM)\",\r\n    @\"iPad3,4\":  @\"iPad 4(WiFi)\",\r\n    @\"iPad3,5\":  @\"iPad 4(GSM)\",\r\n    @\"iPad3,6\":  @\"iPad 4(GSM+CDMA)\",\r\n\r\n    @\"iPod1,1\":  @\"iPod 1st Gen\",\r\n    @\"iPod2,1\":  @\"iPod 2nd Gen\",\r\n    @\"iPod3,1\":  @\"iPod 3rd Gen\",\r\n    @\"iPod4,1\":  @\"iPod 4th Gen\",\r\n    @\"iPod5,1\":  @\"iPod 5th Gen\",\r\n\r\n    };\r\n\r\n  NSString *deviceName = commonNamesDictionary[machineName];\r\n\r\n  if (deviceName == nil) {\r\n    deviceName = machineName;\r\n  }\r\n\r\n  return deviceName;\r\n}\r\n\r\n@end<\/pre>\n<p>And use this method in your helper class to create a user friendly network status string using Reachability class instance: <\/p>\n<pre>\r\n- (NSString *)networkStatusString\r\n{\r\n  NetworkStatus networkStatus = [AppDel.reachability currentReachabilityStatus];\r\n  \r\n  \/*NotReachable = 0,\r\n  ReachableViaWiFi = 2,\r\n  ReachableViaWWAN = 1*\/\r\n  \r\n  switch (networkStatus) {\r\n    case NotReachable:\r\n      _networkStatusString = @\"\u041d\u0435\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f.\";\r\n      break;\r\n    case ReachableViaWiFi: {\r\n      _networkStatusString = @\"Wi-Fi\";\r\n      break;\r\n    }\r\n    case ReachableViaWWAN: {\r\n      _networkStatusString = @\"WWAN\";\r\n      break;\r\n    }\r\n    default:\r\n      break;\r\n  }\r\n  \r\n  return _networkStatusString;\r\n}\r\n<\/pre>\n<p>References:<br \/>\n<a title=\"http:\/\/stackoverflow.com\/questions\/8292246\/how-to-programmatically-differentiate-between-iphone-4-and-iphone-4s\" href=\"http:\/\/stackoverflow.com\/questions\/8292246\/how-to-programmatically-differentiate-between-iphone-4-and-iphone-4s\" target=\"_blank\"> http:\/\/stackoverflow.com\/questions\/8292246\/how-to-programmatically-differentiate-between-iphone-4-and-iphone-4s<\/a><br \/>\n<a title=\"http:\/\/iosdevelopertips.com\/device\/determine-if-iphone-is-3g-or-3gs-determine-if-ipod-is-first-or-second-generation.html\" href=\"http:\/\/iosdevelopertips.com\/device\/determine-if-iphone-is-3g-or-3gs-determine-if-ipod-is-first-or-second-generation.html\" target=\"_blank\"> http:\/\/iosdevelopertips.com\/device\/determine-if-iphone-is-3g-or-3gs-determine-if-ipod-is-first-or-second-generation.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Code for Two Essential Buttons: Write a Review and Send a Letter To Developers. These buttons are often required in a mobile application to collect a feedback from users and to allow them write a review to your app more quickly and comfortable. It also includes some system information. It is in Russian, but no [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1867","post","type-post","status-publish","format-standard","hentry","category-ios"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Code for Two Essential Buttons for iOS: Write a Review and Send a Letter To Developers - Denis Kutlubaev<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.alwawee.ru\/?p=1867\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Code for Two Essential Buttons for iOS: Write a Review and Send a Letter To Developers - Denis Kutlubaev\" \/>\n<meta property=\"og:description\" content=\"Code for Two Essential Buttons: Write a Review and Send a Letter To Developers. These buttons are often required in a mobile application to collect a feedback from users and to allow them write a review to your app more quickly and comfortable. It also includes some system information. It is in Russian, but no [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.alwawee.ru\/?p=1867\" \/>\n<meta property=\"og:site_name\" content=\"Denis Kutlubaev\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/alwaweemobile\" \/>\n<meta property=\"article:published_time\" content=\"2013-11-15T16:46:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-07-28T18:35:35+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/blog.alwawee.com\/?attachment_id=1982\" \/>\n<meta name=\"author\" content=\"Denis Kutlubaev\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Denis Kutlubaev\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=1867#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=1867\"},\"author\":{\"name\":\"Denis Kutlubaev\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#\\\/schema\\\/person\\\/58f1f1f57155b48afab83ba53b3e26a7\"},\"headline\":\"Code for Two Essential Buttons for iOS: Write a Review and Send a Letter To Developers\",\"datePublished\":\"2013-11-15T16:46:08+00:00\",\"dateModified\":\"2014-07-28T18:35:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=1867\"},\"wordCount\":121,\"commentCount\":0,\"articleSection\":[\"iOS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.alwawee.ru\\\/?p=1867#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=1867\",\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=1867\",\"name\":\"Code for Two Essential Buttons for iOS: Write a Review and Send a Letter To Developers - Denis Kutlubaev\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#website\"},\"datePublished\":\"2013-11-15T16:46:08+00:00\",\"dateModified\":\"2014-07-28T18:35:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#\\\/schema\\\/person\\\/58f1f1f57155b48afab83ba53b3e26a7\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=1867#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.alwawee.ru\\\/?p=1867\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=1867#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.alwawee.ru\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Code for Two Essential Buttons for iOS: Write a Review and Send a Letter To Developers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#website\",\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/\",\"name\":\"Denis Kutlubaev\",\"description\":\"iOS Development\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.alwawee.ru\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#\\\/schema\\\/person\\\/58f1f1f57155b48afab83ba53b3e26a7\",\"name\":\"Denis Kutlubaev\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg\",\"caption\":\"Denis Kutlubaev\"},\"description\":\"iOS Developer, creator of Tornado Browser and many other popular apps\",\"sameAs\":[\"http:\\\/\\\/dennis.alwawee.com\"],\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Code for Two Essential Buttons for iOS: Write a Review and Send a Letter To Developers - Denis Kutlubaev","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.alwawee.ru\/?p=1867","og_locale":"en_US","og_type":"article","og_title":"Code for Two Essential Buttons for iOS: Write a Review and Send a Letter To Developers - Denis Kutlubaev","og_description":"Code for Two Essential Buttons: Write a Review and Send a Letter To Developers. These buttons are often required in a mobile application to collect a feedback from users and to allow them write a review to your app more quickly and comfortable. It also includes some system information. It is in Russian, but no [&hellip;]","og_url":"https:\/\/blog.alwawee.ru\/?p=1867","og_site_name":"Denis Kutlubaev","article_publisher":"https:\/\/www.facebook.com\/alwaweemobile","article_published_time":"2013-11-15T16:46:08+00:00","article_modified_time":"2014-07-28T18:35:35+00:00","og_image":[{"url":"http:\/\/blog.alwawee.com\/?attachment_id=1982","type":"","width":"","height":""}],"author":"Denis Kutlubaev","twitter_misc":{"Written by":"Denis Kutlubaev","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.alwawee.ru\/?p=1867#article","isPartOf":{"@id":"https:\/\/blog.alwawee.ru\/?p=1867"},"author":{"name":"Denis Kutlubaev","@id":"https:\/\/blog.alwawee.ru\/#\/schema\/person\/58f1f1f57155b48afab83ba53b3e26a7"},"headline":"Code for Two Essential Buttons for iOS: Write a Review and Send a Letter To Developers","datePublished":"2013-11-15T16:46:08+00:00","dateModified":"2014-07-28T18:35:35+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.alwawee.ru\/?p=1867"},"wordCount":121,"commentCount":0,"articleSection":["iOS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.alwawee.ru\/?p=1867#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.alwawee.ru\/?p=1867","url":"https:\/\/blog.alwawee.ru\/?p=1867","name":"Code for Two Essential Buttons for iOS: Write a Review and Send a Letter To Developers - Denis Kutlubaev","isPartOf":{"@id":"https:\/\/blog.alwawee.ru\/#website"},"datePublished":"2013-11-15T16:46:08+00:00","dateModified":"2014-07-28T18:35:35+00:00","author":{"@id":"https:\/\/blog.alwawee.ru\/#\/schema\/person\/58f1f1f57155b48afab83ba53b3e26a7"},"breadcrumb":{"@id":"https:\/\/blog.alwawee.ru\/?p=1867#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.alwawee.ru\/?p=1867"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.alwawee.ru\/?p=1867#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.alwawee.ru\/"},{"@type":"ListItem","position":2,"name":"Code for Two Essential Buttons for iOS: Write a Review and Send a Letter To Developers"}]},{"@type":"WebSite","@id":"https:\/\/blog.alwawee.ru\/#website","url":"https:\/\/blog.alwawee.ru\/","name":"Denis Kutlubaev","description":"iOS Development","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.alwawee.ru\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.alwawee.ru\/#\/schema\/person\/58f1f1f57155b48afab83ba53b3e26a7","name":"Denis Kutlubaev","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg","caption":"Denis Kutlubaev"},"description":"iOS Developer, creator of Tornado Browser and many other popular apps","sameAs":["http:\/\/dennis.alwawee.com"],"url":"https:\/\/blog.alwawee.ru\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts\/1867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1867"}],"version-history":[{"count":0,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts\/1867\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}