Usage¶
Now that you are all set up, you’re ready to use FacebookPostsAnalysis! Application uses command line interface for its functionality:
analysis [COMMAND] [OPTIONS] [ARGUMENTS]
If you wish to list all of the available options and commands in your command line interface, just type
analysis
or
analysis --help
To get the posts of a Facebook open group/page, you have to use the command get_posts this way:
get_posts¶
Get posts of the specified group/page.
get_posts [OPTIONS] ENTITY
Options
-
--until<until>¶ Date until when to analyse Facebook posts.
-
--since<since>¶ Date since when to analyse Facebook posts.
-
--year<year>¶ Year to analyse Facebook posts.
Arguments
-
ENTITY¶ Required argument
Note
You can choose from two ENTITY arguments: page or group (depends on which you want to analyze).
The command will automatically gather all of the posts data, generate a .csv file containing all of it in a structured, demonstrative way and create a Jupyter Notebook containing the full analysis.
These two files will be located in the analysis folder, named analysis_{id}.csv/ipynb.
Please proceed to Working with the Jupyter Notebook.