{"id":1199,"date":"2015-04-23T16:24:51","date_gmt":"2015-04-23T16:24:51","guid":{"rendered":"https:\/\/www.courses.tegabrain.com\/SS15\/?p=1199"},"modified":"2018-09-04T17:07:48","modified_gmt":"2018-09-04T17:07:48","slug":"twitter-bot-update","status":"publish","type":"post","link":"https:\/\/www.courses.tegabrain.com\/SS15\/?p=1199","title":{"rendered":"Twitter Bot Update"},"content":{"rendered":"<p>If time permits I would like to attempt to make more than one Twitter bot. An ideal situation would be where I could make a more simple twitter bot using Javascript and Node, and a more complicated bot that would run on a server using Python. My goal for this assignment is to learn more about Javascript and its implementations and improve my knowledge of Python. After some research I found a Twitter library for Python called &#8220;tweepy&#8221;. Tweepy can be found via GitHub <a title=\"tweepy\" href=\"https:\/\/github.com\/tweepy\/tweepy\" target=\"_blank\">HERE<\/a>, or if you have a mac and &#8220;pip&#8221; you can download it from the terminal.<\/p>\n<div id=\"attachment_1201\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-11.52.56-AM.png\"><img aria-describedby=\"caption-attachment-1201\" decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-1201\" src=\"https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-11.52.56-AM-300x187.png\" alt=\"Installing tweepy from the Terminal\" width=\"300\" height=\"187\" srcset=\"https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-11.52.56-AM-300x187.png 300w, https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-11.52.56-AM-535x334.png 535w, https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-11.52.56-AM.png 840w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-1201\" class=\"wp-caption-text\">Installing tweepy from the Terminal<\/p><\/div>\n<p>The documentation on the tweepy website is very easy to follow and nicely laid out. I would definitely recommend using tweepy for anyone who is looking to build a bot based in python.<\/p>\n<div id=\"attachment_1200\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-11.45.42-AM.png\"><img aria-describedby=\"caption-attachment-1200\" decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-1200\" src=\"https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-11.45.42-AM-300x276.png\" alt=\"Tweepy Documentation\" width=\"300\" height=\"276\" srcset=\"https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-11.45.42-AM-300x276.png 300w, https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-11.45.42-AM-535x492.png 535w, https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-11.45.42-AM.png 863w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-1200\" class=\"wp-caption-text\">Tweepy Documentation<\/p><\/div>\n<p>Bot Design:<\/p>\n<p>My plan is to create a bot under the name &#8220;notTooPopular&#8221;. The bot will scan for hashtags that are specifically NOT trending and retweet posts containing the unpopular hashtags. Will the bot try and make unpopular topics trend by retweeting them? Or is it a bot that doesn&#8217;t like the spotlight and chooses to dwell in the unpopular? Who knows, but these are some questions that I&#8217;ve been wondering about. Jer Thorp mentions that \u201c The API can act as a clear connection\u2026 or shift modes and meaning as information is requested and relayed. \u201c This project plays off of this idea by using the twitter API to achieve the antithesis of what Twitter is currently trying to accomplish. The bot would be posting topics that no one is talking about or paying attention to, which is obviously NOT the way Twitter was intended to work. It might interesting to give the bot some kind of &#8220;personality&#8221; or anthropomorphic feel to it as well, rather than simply being a &#8220;machine&#8221;. Will the actions of the bot be taken more seriously if the bot has a &#8220;personality&#8221;? How does interaction change when people think they are responding to a human? The bot will use the Twitter API as a bridge between computer to computer, to create a disconnect between human\/computer social interactions.<\/p>\n<div id=\"attachment_1204\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-12.01.13-PM.png\"><img aria-describedby=\"caption-attachment-1204\" decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-1204\" src=\"https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-12.01.13-PM-300x176.png\" alt=\"Early test\" width=\"300\" height=\"176\" srcset=\"https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-12.01.13-PM-300x176.png 300w, https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-12.01.13-PM-1024x601.png 1024w, https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-12.01.13-PM-535x314.png 535w, https:\/\/www.courses.tegabrain.com\/SS15\/wp-content\/uploads\/2015\/04\/Screen-Shot-2015-04-23-at-12.01.13-PM.png 1633w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-1204\" class=\"wp-caption-text\">Early test<\/p><\/div>\n<p>I&#8217;m hoping to continue my research on the subject to learn more about both the Javascript and Python implementations of the Twitter bot, as well as running the code from a server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If time permits I would like to attempt to make more than one Twitter bot. An ideal situation would be where I could make a more simple twitter bot using Javascript and Node, and a more complicated bot that would run on a server using Python. My goal for this assignment is to learn more [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=\/wp\/v2\/posts\/1199"}],"collection":[{"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1199"}],"version-history":[{"count":1,"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=\/wp\/v2\/posts\/1199\/revisions"}],"predecessor-version":[{"id":1206,"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=\/wp\/v2\/posts\/1199\/revisions\/1206"}],"wp:attachment":[{"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/SS15\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}