Skip to content

Track specific posts by a person inside of a Facebook group and record the number of comments and reactions by the hour.

Notifications You must be signed in to change notification settings

vudung45/FacebookPostAnalysis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

FacebookPostAnalysis

A simple app that records information about the UT LONGmemes for HORNSy teens posters by scraping from the feed.

Requirements

  • Need a 'secret.txt' with app id in first line and app secret in second line.
  • Graph app needs access to user_managed_groups. Make sure your app has this permission. As of v2.10 of Graph API, will need app review.
  • An empty 'posts.json' to store the post id, user and time information. Auto-generating an empty 'posts.json' is on the TODO list

Installation

  • Make sure to have facepy isntalled. Preferably for python 3.
  • pip install facepy

Run

  • python app.py

What does it do?

  • Simply records who posted what at what time. That's it. ¯\(ツ)
  • Print to console the url of a profile that is new to the json file, aka "the database".
  • Auto-generate post.json if inexistent.

TO-DO

  • Retroactively and from then on, include the name of a user and a url to their profile picture for later retrival.
  • Prune data when it gets really old to save on space and time reading and writing database

About

Track specific posts by a person inside of a Facebook group and record the number of comments and reactions by the hour.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%