Getting Started with Facebook - strohne/Facepager GitHub Wiki

  1. Create a database: click New Database in the Menu Bar.

  2. Login to Facebook: In the Facebook tab of the Query Setup click on Login to Facebook to get a valid access token. Notice: the Access Token is like a password to Facebook. Since it may be printed in the status log and saved in the application settings don't give anyone untrusted access to your computer or to the status log.

  3. Add nodes: Add Facebook IDs by clicking Add Nodes in the Menu Bar. Depending on what you want to fetch you have to use different kind of object IDs as start nodes (see https://github.com/strohne/Facepager/wiki/Query-Setup.-Facebook#data-types for the different data types). For example, to collect posts you have to use page IDs. Enter the last part of a Facebook page, e.g. enter "Uni.Greifswald.de" for the page "https://www.facebook.com/Uni.Greifswald.de" or enter "TheAcademy" for the page "https://www.facebook.com/TheAcademy".

  4. Setup query: The query settings are also dependent on what you want to fetch. To collect posts you can use one of our Facebook presets from the preset section at the menu bar or type https://graph.facebook.com/v14.0 into the Base path field of the Query Setup. Type /<page-id>/posts into the Resource field. Delete any Parameters. Then add just one parameter: the term fields goes into the left side, the term message, from, created_time, updated_time goes into the right side. See https://developers.facebook.com/docs/graph-api/reference/v14.0/page/feed for other fields if you like.

  5. Fetch data: Select one or more nodes in the Nodes View and click Fetch data. Look at the Status Log (make sure "Log all requests" was enabled) to see how the URL is assembled from your settings.

  6. Inspect data: Expand your node or click Expand nodes in the Menu Bar to open all nodes. Select one of the new child nodes. The raw data is shown in the Data View to the right.

  7. Setup columns: Click Clear Column Setup below the "Custom Table Columns" area. Change the Column Setup according to your needs by adding keys found in the raw data into the "Custom Table Columns" area. You can use Add Column after you clicked on the specific key or just use Add All Columns. Don't forget to click Apply Column Setup in the Column Setup to add them in the Nodes View. If the columns don't show up make sure to scroll right or to resize the columns (click between the headers).

  8. Export data: Click Export Data to get a CSV file. Notice the options in the export mode field of the export dialog. You can open CSV files with Excel oder any statistics software you like.

What is next?

⚠️ **GitHub.com Fallback** ⚠️