This one will replace the deprecated /me/home /me/notifications with a web-scraped backend using the headless CasperJS/PhantomJS.
Other features added:
View Facebook videos and YouTube using mplayer+libcaca.
View images with either Termpic or libcaca backend.
Better color emoji support. Replace parts with some emojis and display reaction emojis.
Support for Facebook reactions (Haha, Love, Sad, Angry, Wow)
More support for different types of posts (commerical ads, events, movies, travel.)
Support for loading shared Spotify playlists into Spotify.
Support for Animated GIF posts with Giphy
New commands:
:view_spotify_playlist, :vsp - load shared playlist into spotify
:login - delete CasperJS cookies and log in back into Facebook.
:set_notification_pages :np - sets number of pages fetch initially - may be removed because improved scraping controls.
:set_news_feed_pages, :nfp - sets number of pages fetch initially - may be removed because improved scraping controls.
:set_new_notifications_only, :nn - show marked notifications only. set 1 to show highlighted or set 0 to show all.
:set_show_latest_news, :sln - show latest news. set 1 to show latest stories or 0 to show top stories.
:view_img_caca, :vic - view image using caca. second argument is optional which can be :post or :comment.
:view_img_termpic, :vit, :view_img, :vi - view image using termpic. second argument is optional which can be :post or :comment.
:view_img_ev, :viev - view image using external viewer. second argument is optional which can be :post or :comment. The default is eog (Eye of Gnome) and can be changed in core.rb.
:view_movie_caca, :vmc - view movie using mplayer and libcaca. second argument is optional which can be :post or :comment.
:view_movie_wb, :vmwb - view movie in web browser. second argument is optional which can be :post or :comment. The default is Firefox and can be changed in core.rb.
Removed command :mailbox
Currently Broken:
The following are broken because Facebook's BigPipe or PhantomJS's fork of qtwebkit could be breaking it and needs to be modded. It could also be caused by overlooked timing issue cause by our CasperJS scripts. The AJAX/BigPipe is not dumping the DOM element.
-Support for fetching comments.
-Facebook Live. It is possible to fetch the mpeg dash url via youtube-dl and vlc
Added Dependencies they need to be downloaded or scripts need to check for required dependencies:
=casperjs-1.1.3
=phantomjs-2.1.1
=libcaca-0.99_beta19 with ruby bindings for Ruby 2.1
=mplayer-1.2.1 gif support for animated gifs
=vlc-3.0 (latest commit for facebook live support) with libcaca
=youtube-dl-2016.12.12
=json-1.8.2 (ruby gem)
=Noto Color Emojis for color emoji support (optional)
This one will replace the deprecated /me/home /me/notifications with a web-scraped backend using the headless CasperJS/PhantomJS.
Other features added: View Facebook videos and YouTube using mplayer+libcaca. View images with either Termpic or libcaca backend. Better color emoji support. Replace parts with some emojis and display reaction emojis. Support for Facebook reactions (Haha, Love, Sad, Angry, Wow) More support for different types of posts (commerical ads, events, movies, travel.) Support for loading shared Spotify playlists into Spotify. Support for Animated GIF posts with Giphy
New commands: :view_spotify_playlist, :vsp - load shared playlist into spotify :login - delete CasperJS cookies and log in back into Facebook. :set_notification_pages :np - sets number of pages fetch initially - may be removed because improved scraping controls. :set_news_feed_pages, :nfp - sets number of pages fetch initially - may be removed because improved scraping controls. :set_new_notifications_only, :nn - show marked notifications only. set 1 to show highlighted or set 0 to show all. :set_show_latest_news, :sln - show latest news. set 1 to show latest stories or 0 to show top stories. :view_img_caca, :vic - view image using caca. second argument is optional which can be :post or :comment. :view_img_termpic, :vit, :view_img, :vi - view image using termpic. second argument is optional which can be :post or :comment. :view_img_ev, :viev - view image using external viewer. second argument is optional which can be :post or :comment. The default is eog (Eye of Gnome) and can be changed in core.rb. :view_movie_caca, :vmc - view movie using mplayer and libcaca. second argument is optional which can be :post or :comment. :view_movie_wb, :vmwb - view movie in web browser. second argument is optional which can be :post or :comment. The default is Firefox and can be changed in core.rb.
Removed command :mailbox
Currently Broken: The following are broken because Facebook's BigPipe or PhantomJS's fork of qtwebkit could be breaking it and needs to be modded. It could also be caused by overlooked timing issue cause by our CasperJS scripts. The AJAX/BigPipe is not dumping the DOM element. -Support for fetching comments. -Facebook Live. It is possible to fetch the mpeg dash url via youtube-dl and vlc
Added Dependencies they need to be downloaded or scripts need to check for required dependencies: