{"id":214,"date":"2018-10-17T06:02:31","date_gmt":"2018-10-17T06:02:31","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/facebook-messenger-on-the-command-line-the-ultimate-linux-newbie-guide\/"},"modified":"2018-10-17T06:02:31","modified_gmt":"2018-10-17T06:02:31","slug":"facebook-messenger-on-the-command-line-the-ultimate-linux-newbie-guide","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/facebook-messenger-on-the-command-line-the-ultimate-linux-newbie-guide\/","title":{"rendered":"Facebook Messenger on the command line \u2014 The Ultimate Linux Newbie Guide"},"content":{"rendered":"\n<p> <img loading=\"lazy\" decoding=\"async\" alt=\"Messer logo\" height=\"452\" src=\"https:\/\/i2.wp.com\/linuxnewbieguide.org\/wp-content\/uploads\/2018\/09\/27252310-6655f4f6-539e-11e7-978b-c8eaba02ba68.png?fit=564%2C452&amp;ssl=1\" width=\"564\" \/><\/p>\n<p>Facebook Messenger for geeks:<\/p>\n<p>Just as you thought life at the command line couldn\u2019t get any weirder, it\u2019s now possible to chat to your Facebook buddies on the command line whilst you geek out on your bash scripts! Here\u2019s how to do it<\/p>\n<p>Yep, you read it correctly! If you are a command-line junkie geek by day but have \u2018normal\u2019 friends by night, that you chat to via <a href=\"https:\/\/www.messenger.com\">messenger.com<\/a> or via the Facebook Messenger app on your phone, you might be delighted to find out that having to stop what you are doing, bashing away at the terminal and go to your browser can be a thing of the past.<\/p>\n<p>I\u2019ve managed to dig up two Facebook Messenger CLI clients for you to have a look into. One called <a href=\"https:\/\/github.com\/mjkaufer\/Messer\">Messer<\/a> and the other imaginatively called <a href=\"https:\/\/github.com\/Alex-Rose\/fb-messenger-cli\">fb-messenger-cli<\/a>. <\/p>\n<p><img decoding=\"async\" alt=\"facebook-messenger-cli\" src=\"https:\/\/i2.wp.com\/linuxnewbieguide.org\/wp-content\/uploads\/2018\/09\/687474703a2f2f7075752e73682f70534e4e622f653765303863613136652e706e67.png?w=895\" \/>facebook-messenger-cli in action<\/p>\n<h2>How to install them?<\/h2>\n<p>Both projects are available on github only at this point, but installing them is easy. Written in JavaScript, installing fb-messenger-cli can be achieved using npm like so:<\/p>\n<p>npm install -g fb-messenger-cli<\/p>\n<p>Installation of messer is also nearly as trivial:<\/p>\n<p>npm install -g messer<\/p>\n<p>Obviously, to install either of them, they require npm, the JavaScript package manager, to be installed. If you don\u2019t already have npm, you can do so by running sudo apt install npm. The version of npm installed afterward is shown by running npm -v. If you need a newer version of npm, then you can download it as a PPA like so:<\/p>\n<p>curl -sL https:\/\/deb.nodesource.com\/setup_8.x -o nodesource_setup.sh<br \/>sudo bash nodesource_setup.sh<br \/>sudo apt install nodejs<\/p>\n<h4>Further Reading<\/h4>\n<p>Messer github page: <a href=\"https:\/\/github.com\/mjkaufer\/Messer\">https:\/\/github.com\/mjkaufer\/Messer<\/a><\/p>\n<p>fb-messenger-cli github page: <a href=\"https:\/\/github.com\/Alex-Rose\/fb-messenger-cli\">https:\/\/github.com\/Alex-Rose\/fb-messenger-cli<\/a><\/p>\n<h2>Post navigation<\/h2>\n<p> <a href=\"https:\/\/linuxnewbieguide.org\/facebook-messenger-on-the-command-line\/\" target=\"_blank\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Facebook Messenger for geeks: Just as you thought life at the command line couldn\u2019t get any weirder, it\u2019s now possible to chat to your Facebook buddies on the command line whilst you geek out on your bash scripts! Here\u2019s how to do it Yep, you read it correctly! If you are a command-line junkie geek &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/facebook-messenger-on-the-command-line-the-ultimate-linux-newbie-guide\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Facebook Messenger on the command line \u2014 The Ultimate Linux Newbie Guide&#8221;<\/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],"tags":[],"class_list":["post-214","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":0,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/214\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}