Skip to content

autumncollection/about-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

*** TASKS ***

/#1/
- finish implementation of downloading data from FB API
- finish output
/#2/
-- unknown URL or base domain returns "neznámý"

# OUTPUT

[{
  'host'              => 'WEB base domain',
  'url'               => 'URL from command line',
  'Facebook ID'       => 'Facebook ID of Web page (response_domain)',
  'Počet likes stránky na FB' => 'host likes count (response_domain)',
  'Počet likes článku'    => 'url likes count (response_url)',
  'Počet sdílení článku'  => 'url shares count (response_url)'
}, {.......}, {.......}]

- make commit
- merge with origin/master!

*** RUN ***
ruby ./app.rb '_URL_' '_URL_' ... '_URL_'

*** EXAMPLE ***
ruby ./app.rb 'http://revue.idnes.cz/katerina-zemanova-na-udajne-porno-party-f03-/lidicky.aspx?c=A131008_133331_lidicky_zar' 'http://www.lidovky.cz/zit-brno-to-je-omezena-zalezitost-aby-rozhodla-o-onderkove-porazce-1fp-/zpravy-domov.aspx'

**** EXTRA TASK ****

/#3/
-- try to finish implementation of recognizing of BAD url. Add error code
--- straight to output variable without sending request to FB API!

Releases

No releases published

Packages

No packages published

Languages