{"id":995,"date":"2011-11-17T03:57:00","date_gmt":"2011-11-16T23:57:00","guid":{"rendered":"http:\/\/sandalov.org\/blog\/?p=995"},"modified":"2011-11-18T23:16:07","modified_gmt":"2011-11-18T19:16:07","slug":"crosspost-from-twitter-to-google-google-plus-in-php","status":"publish","type":"post","link":"https:\/\/sandalov.org\/blog\/995\/","title":{"rendered":"Crosspost from Twitter to Google+ (Google Plus) in PHP"},"content":{"rendered":"<div class=\"2d836d85a73757df15d0de19d7bef594\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-2287684400845931\";\r\n\/* valerymorozov *\/\r\ngoogle_ad_slot = \"5606708872\";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<p>The crosspost is implemented without Google+ API, without Chrome app.<br \/>\nGoogle plus post is updated programmatically using PHP, cURL.<br \/>\nThe script can be put to cron for automatic Twitter 2 GooglePlus crossposting.<\/p>\n<p>The code works for me perfectly, yet doesn&#8217;t work when 2-step verification is ON.<\/p>\n<p>Check\/fork it here: <a href=\"https:\/\/github.com\/DmitrySandalov\/twitter2gplus\">https:\/\/github.com\/DmitrySandalov\/twitter2gplus<\/a><\/p>\n<p><em>Credits:<\/em><br \/>\nLuka Pusic (luka@pusic.si)<br \/>\nVladimir Smirnoff (mail@smirnoff.sumy.ua)<br \/>\nSergey Pashko aka Kichrum (http:\/\/kichrum.org.ua)<\/p>\n<div class=\"2d836d85a73757df15d0de19d7bef594\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-2287684400845931\";\r\n\/* valerymorozov *\/\r\ngoogle_ad_slot = \"5606708872\";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>The crosspost is implemented without Google+ API, without Chrome app. Google plus post is updated programmatically using PHP, cURL. The script can be put to cron for automatic Twitter 2 GooglePlus crossposting. The code works for me perfectly, yet doesn&#8217;t work when 2-step verification is ON. Check\/fork it here: https:\/\/github.com\/DmitrySandalov\/twitter2gplus &hellip; <a class=\"continue-reading-link\" href=\"https:\/\/sandalov.org\/blog\/995\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[117],"tags":[204,201,205,206,200,199,202,203,60],"class_list":["post-995","post","type-post","status-publish","format-standard","hentry","category-news","tag-cron","tag-crosspost","tag-crossposting","tag-from-twitter","tag-google-plus","tag-google","tag-php","tag-script","tag-twitter"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/posts\/995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/comments?post=995"}],"version-history":[{"count":19,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/posts\/995\/revisions"}],"predecessor-version":[{"id":1035,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/posts\/995\/revisions\/1035"}],"wp:attachment":[{"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/media?parent=995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/categories?post=995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/tags?post=995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}