{"id":632,"date":"2015-02-02T17:17:43","date_gmt":"2015-02-02T16:17:43","guid":{"rendered":"http:\/\/duskosavic.com\/blog\/?p=632"},"modified":"2016-12-14T23:23:15","modified_gmt":"2016-12-14T22:23:15","slug":"share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform","status":"publish","type":"post","link":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/","title":{"rendered":"Share To Twitter &#8212; Android Plugin To Post To Twitter"},"content":{"rendered":"<p>Almost all apps nowadays post to Twitter, Facebook and other social sites. The reason is that in iOS, it is relatively easy to post to social sites, and so was moderately difficult to write plugins to that end. On the Android side, there is no such support so here is for the first time an <strong>Android plugin that posts to Twitter<\/strong>. A similar plugin for Android only is also available for <strong>Facebook<\/strong>, and there is a third plugin, called <strong>Share Menu<\/strong>, that can post to twelve different social sites, provided you first enter the password for each site that you want to post to.<\/p>\n<p>Most people that want to post to Twitter and Facebook will already have their respective &#8220;native&#8221; apps installed, so the user only has to tap an icon and post to these sites almost automatically or with a minimum of fuss. In this post we concentrate only on posting to Twitter, as posting to Facebook has its own quirks.<\/p>\n<h2>How To Post Predefined Text, Image and Link to Twitter<\/h2>\n<p>Normal usage for this plugin is to be called from an icon on an action bar. Let us say that you have a plugin such as HTML Pro or HTML Pro AdMob, which is HTML Pro modified to show Ad Mob banners and interstitial ads.The HTML Pro screen may contain information about a location that you may want to visit, a shop to buy shoes from, a cinema to watch movies, and so on. You want to help your user to post the shoes shop to Twitter, so you command that the action bar of the HTML Pro screen contains an icon to post to Twitter. In control panel of the HTML Pro screen there is a field that looks like this:<\/p>\n<p><a href=\"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/show_twitter_full_menu.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-643\" src=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/show_twitter_full_menu-300x150.png\" alt=\"show_twitter_full_menu\" width=\"352\" height=\"176\" srcset=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/show_twitter_full_menu-300x150.png 300w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/show_twitter_full_menu-250x125.png 250w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/show_twitter_full_menu-150x75.png 150w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/show_twitter_full_menu.png 371w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/a>If the first option is activated, the Twitter icon will be shown in the action bar, as in this image:<\/p>\n<div id=\"attachment_644\" style=\"width: 313px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_show_icon.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-644\" class=\" wp-image-644\" src=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_show_icon-170x300.png\" alt=\"Twitter, Twitter icon, post to Twitter, HTML Pro\" width=\"303\" height=\"535\" srcset=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_show_icon-170x300.png 170w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_show_icon-85x150.png 85w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_show_icon.png 573w\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" \/><\/a><p id=\"caption-attachment-644\" class=\"wp-caption-text\">Selecting Yes in the field will make the Twitter icon show in the action bar of the HTML Pro screen<\/p><\/div>\n<p>Now, tapping or clicking on that icon will activate the Twitter app and the following screen will show:<\/p>\n<div id=\"attachment_645\" style=\"width: 285px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_download_image.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-645\" class=\" wp-image-645\" src=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_download_image-170x300.png\" alt=\"download image for Twitter post\" width=\"275\" height=\"485\" srcset=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_download_image-170x300.png 170w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_download_image-85x150.png 85w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_download_image.png 570w\" sizes=\"auto, (max-width: 275px) 100vw, 275px\" \/><\/a><p id=\"caption-attachment-645\" class=\"wp-caption-text\">The image is being downloaded to post to Twitter, if there is one in the control panel<\/p><\/div>\n<p>If in the field <strong>Twitter Image Url<\/strong> there is an entry, the image will be first downloaded and then the &#8220;post to Twitter&#8221; screen will show:<\/p>\n<div id=\"attachment_646\" style=\"width: 270px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_screen.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-646\" class=\" wp-image-646\" src=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_screen-170x300.png\" alt=\"Twitter app\" width=\"260\" height=\"459\" srcset=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_screen-170x300.png 170w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_screen-85x150.png 85w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_screen.png 575w\" sizes=\"auto, (max-width: 260px) 100vw, 260px\" \/><\/a><p id=\"caption-attachment-646\" class=\"wp-caption-text\">The Twitter app is acitvated, the text is predefined as is the image, but you can change it all on the fly<\/p><\/div>\n<p>Tapping on the blue button Tweet, will send the contents of the screen to the Twitter.com and there will appear the message with the image:<\/p>\n<div id=\"attachment_647\" style=\"width: 406px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_posted.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-647\" class=\" wp-image-647\" src=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_posted-300x206.png\" alt=\"Twitter, post to Twitter\" width=\"396\" height=\"272\" srcset=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_posted-300x206.png 300w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_posted-219x150.png 219w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_posted-150x103.png 150w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_posted.png 600w\" sizes=\"auto, (max-width: 396px) 100vw, 396px\" \/><\/a><p id=\"caption-attachment-647\" class=\"wp-caption-text\">The contents of the Android screen were posted on Twitter, image too<\/p><\/div>\n<h2>How To Define the Text, Link and the Image to Post to Twitter From Your Android App Control Panel<\/h2>\n<p>The control panel for the HTML Pro screen also contains the fields for the elements of the<\/p>\n<div id=\"attachment_642\" style=\"width: 285px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_options.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-642\" class=\"size-full wp-image-642\" src=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_options.png\" alt=\"Twitter, action bar, Android, icon \" width=\"275\" height=\"210\" srcset=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_options.png 275w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_options-196x150.png 196w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_options-150x115.png 150w\" sizes=\"auto, (max-width: 275px) 100vw, 275px\" \/><\/a><p id=\"caption-attachment-642\" class=\"wp-caption-text\">Fields to populate the Twitter post<\/p><\/div>\n<p>Here is what these fields might look line in practice:<\/p>\n<div id=\"attachment_648\" style=\"width: 461px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_open_fields.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-648\" class=\" wp-image-648\" src=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_open_fields-238x300.png\" alt=\"Twitter post\" width=\"451\" height=\"569\" srcset=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_open_fields-238x300.png 238w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_open_fields-119x150.png 119w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_open_fields.png 552w\" sizes=\"auto, (max-width: 451px) 100vw, 451px\" \/><\/a><p id=\"caption-attachment-648\" class=\"wp-caption-text\">Fields to define the link, the text, the image and &#8220;return to&#8221; screen within the app<\/p><\/div>\n<p>If these fields remain unpopulated, you will get a chance to write text into the app and then, by pressing the Tweet blue button, send it to Twitter. Any combination is possible, no link, no text, no URL address, but the field <strong>Twitter Next Screen Item Id<\/strong> should always be populated by an item id of the screen that the app will continue with after the &#8220;underlying&#8221; Twitter app goes back to sleep.<\/p>\n<p>In this case, the contents of that field points to the &#8220;<strong>Main Menu<\/strong>&#8221; screen, the one that the app starts with. It can be any other screen, really, in some cases, that might be the &#8220;upper&#8221; menu from which the HTML Pro screen was called.<\/p>\n<p>If this field is left empty, the app tends to be unusable, because\u00a0 the Tweet screen and the screen before it create a vicious circle, which can be broken by using, say, the menu of the app to go to the home screen.<\/p>\n<h2>There Can Be Only One Share To Twitter Screen<\/h2>\n<p>There needs to be exactly one and only one instance of the <strong>Share To Screen<\/strong> plugin in the app. The HTML Pro plugin, the HTML Pro AdMob plugin and others just transfer the parameters to the Share To Twitter screen, which then interprets them and posts to Twitter. Also, note the item id of that unique <strong>Share To Twitter<\/strong> screen and enter that value into the auxiliary plugin called <strong>DS_auxiliary.java<\/strong>.<\/p>\n<p>Here is what its relevant part looks like:<\/p>\n<div id=\"attachment_649\" style=\"width: 546px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_auxiliary.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-649\" class=\" wp-image-649\" src=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_auxiliary-300x103.png\" alt=\"plugin, global values, singleton Java\" width=\"536\" height=\"184\" srcset=\"https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_auxiliary-300x103.png 300w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_auxiliary-250x86.png 250w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_auxiliary-150x52.png 150w, https:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/post_to_twitter_auxiliary.png 806w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/a><p id=\"caption-attachment-649\" class=\"wp-caption-text\">DS_auxiliary plugin acts as a singleton, making certain values global for the ap<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Almost all apps nowadays post to Twitter, Facebook and other social sites. The reason is that in iOS, it is relatively easy to post to social sites, and so was moderately difficult to write plugins to that end. On the &hellip; <a href=\"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,445],"tags":[446,455,402,453],"series":[],"class_list":["post-632","post","type-post","status-publish","format-standard","hentry","category-programming","category-twitter-apps","tag-share-to-twitter","tag-share-to-twitter-plugin","tag-twitter","tag-twitter-app"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Share To Twitter - Android Plugin To Post To Twitter - DuskoSavic.com<\/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:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Share To Twitter - Android Plugin To Post To Twitter - DuskoSavic.com\" \/>\n<meta property=\"og:description\" content=\"Almost all apps nowadays post to Twitter, Facebook and other social sites. The reason is that in iOS, it is relatively easy to post to social sites, and so was moderately difficult to write plugins to that end. On the &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/\" \/>\n<meta property=\"og:site_name\" content=\"DuskoSavic.com\" \/>\n<meta property=\"article:published_time\" content=\"2015-02-02T16:17:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-12-14T22:23:15+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/show_twitter_full_menu-300x150.png\" \/>\n<meta name=\"author\" content=\"Dusko\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dusko\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/\"},\"author\":{\"name\":\"Dusko\",\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/#\\\/schema\\\/person\\\/5c90e82c5c70eaeee96d0b2efbfd4396\"},\"headline\":\"Share To Twitter &#8212; Android Plugin To Post To Twitter\",\"datePublished\":\"2015-02-02T16:17:43+00:00\",\"dateModified\":\"2016-12-14T22:23:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/\"},\"wordCount\":849,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/#\\\/schema\\\/person\\\/5c90e82c5c70eaeee96d0b2efbfd4396\"},\"image\":{\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/duskosavic.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/02\\\/show_twitter_full_menu-300x150.png\",\"keywords\":[\"share to twitter\",\"share to twitter plugin\",\"Twitter\",\"twitter app\"],\"articleSection\":[\"Programming\",\"Twitter apps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/\",\"url\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/\",\"name\":\"Share To Twitter - Android Plugin To Post To Twitter - DuskoSavic.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/duskosavic.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/02\\\/show_twitter_full_menu-300x150.png\",\"datePublished\":\"2015-02-02T16:17:43+00:00\",\"dateModified\":\"2016-12-14T22:23:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/#primaryimage\",\"url\":\"http:\\\/\\\/duskosavic.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/02\\\/show_twitter_full_menu-300x150.png\",\"contentUrl\":\"http:\\\/\\\/duskosavic.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/02\\\/show_twitter_full_menu-300x150.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/programming\\\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Share To Twitter &#8212; Android Plugin To Post To Twitter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/\",\"name\":\"DuskoSavic.com\",\"description\":\"Rapid Mobile Apps Development With Flutter\",\"publisher\":{\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/#\\\/schema\\\/person\\\/5c90e82c5c70eaeee96d0b2efbfd4396\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/duskosavic.com\\\/blog\\\/#\\\/schema\\\/person\\\/5c90e82c5c70eaeee96d0b2efbfd4396\",\"name\":\"Dusko\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d249b8ea0c85e62fd0339dd1412b99f721f072408db9a9a546efe3a86a93b667?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d249b8ea0c85e62fd0339dd1412b99f721f072408db9a9a546efe3a86a93b667?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d249b8ea0c85e62fd0339dd1412b99f721f072408db9a9a546efe3a86a93b667?s=96&d=mm&r=g\",\"caption\":\"Dusko\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d249b8ea0c85e62fd0339dd1412b99f721f072408db9a9a546efe3a86a93b667?s=96&d=mm&r=g\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Share To Twitter - Android Plugin To Post To Twitter - DuskoSavic.com","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:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/","og_locale":"en_US","og_type":"article","og_title":"Share To Twitter - Android Plugin To Post To Twitter - DuskoSavic.com","og_description":"Almost all apps nowadays post to Twitter, Facebook and other social sites. The reason is that in iOS, it is relatively easy to post to social sites, and so was moderately difficult to write plugins to that end. On the &hellip; Continue reading &rarr;","og_url":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/","og_site_name":"DuskoSavic.com","article_published_time":"2015-02-02T16:17:43+00:00","article_modified_time":"2016-12-14T22:23:15+00:00","og_image":[{"url":"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/show_twitter_full_menu-300x150.png","type":"","width":"","height":""}],"author":"Dusko","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Dusko","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/#article","isPartOf":{"@id":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/"},"author":{"name":"Dusko","@id":"https:\/\/duskosavic.com\/blog\/#\/schema\/person\/5c90e82c5c70eaeee96d0b2efbfd4396"},"headline":"Share To Twitter &#8212; Android Plugin To Post To Twitter","datePublished":"2015-02-02T16:17:43+00:00","dateModified":"2016-12-14T22:23:15+00:00","mainEntityOfPage":{"@id":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/"},"wordCount":849,"commentCount":0,"publisher":{"@id":"https:\/\/duskosavic.com\/blog\/#\/schema\/person\/5c90e82c5c70eaeee96d0b2efbfd4396"},"image":{"@id":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/#primaryimage"},"thumbnailUrl":"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/show_twitter_full_menu-300x150.png","keywords":["share to twitter","share to twitter plugin","Twitter","twitter app"],"articleSection":["Programming","Twitter apps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/","url":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/","name":"Share To Twitter - Android Plugin To Post To Twitter - DuskoSavic.com","isPartOf":{"@id":"https:\/\/duskosavic.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/#primaryimage"},"image":{"@id":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/#primaryimage"},"thumbnailUrl":"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/show_twitter_full_menu-300x150.png","datePublished":"2015-02-02T16:17:43+00:00","dateModified":"2016-12-14T22:23:15+00:00","breadcrumb":{"@id":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/#primaryimage","url":"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/show_twitter_full_menu-300x150.png","contentUrl":"http:\/\/duskosavic.com\/blog\/wp-content\/uploads\/2015\/02\/show_twitter_full_menu-300x150.png"},{"@type":"BreadcrumbList","@id":"https:\/\/duskosavic.com\/blog\/programming\/share-to-twitter-android-plugin-to-post-to-twitter-from-buzztouch-platform\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/duskosavic.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Share To Twitter &#8212; Android Plugin To Post To Twitter"}]},{"@type":"WebSite","@id":"https:\/\/duskosavic.com\/blog\/#website","url":"https:\/\/duskosavic.com\/blog\/","name":"DuskoSavic.com","description":"Rapid Mobile Apps Development With Flutter","publisher":{"@id":"https:\/\/duskosavic.com\/blog\/#\/schema\/person\/5c90e82c5c70eaeee96d0b2efbfd4396"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/duskosavic.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/duskosavic.com\/blog\/#\/schema\/person\/5c90e82c5c70eaeee96d0b2efbfd4396","name":"Dusko","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d249b8ea0c85e62fd0339dd1412b99f721f072408db9a9a546efe3a86a93b667?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d249b8ea0c85e62fd0339dd1412b99f721f072408db9a9a546efe3a86a93b667?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d249b8ea0c85e62fd0339dd1412b99f721f072408db9a9a546efe3a86a93b667?s=96&d=mm&r=g","caption":"Dusko"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/d249b8ea0c85e62fd0339dd1412b99f721f072408db9a9a546efe3a86a93b667?s=96&d=mm&r=g"}}]}},"_links":{"self":[{"href":"https:\/\/duskosavic.com\/blog\/wp-json\/wp\/v2\/posts\/632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/duskosavic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/duskosavic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/duskosavic.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/duskosavic.com\/blog\/wp-json\/wp\/v2\/comments?post=632"}],"version-history":[{"count":8,"href":"https:\/\/duskosavic.com\/blog\/wp-json\/wp\/v2\/posts\/632\/revisions"}],"predecessor-version":[{"id":868,"href":"https:\/\/duskosavic.com\/blog\/wp-json\/wp\/v2\/posts\/632\/revisions\/868"}],"wp:attachment":[{"href":"https:\/\/duskosavic.com\/blog\/wp-json\/wp\/v2\/media?parent=632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/duskosavic.com\/blog\/wp-json\/wp\/v2\/categories?post=632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/duskosavic.com\/blog\/wp-json\/wp\/v2\/tags?post=632"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/duskosavic.com\/blog\/wp-json\/wp\/v2\/series?post=632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}