/facebook-online-friend-tracker

Track the number of online friends you have on Facebook at any given time!

Primary LanguagePythonMIT LicenseMIT

facebook-online-friend-tracker

Track the number of online friends you have on Facebook at any given time! Check out my results and conclusions after running this script for two weeks!

Prerequisites

All you need to use this script is a Facebook account and a CSV file.

Dependencies

This script is built in Python. It uses Selenium and Chromedriver to scrape the number of online friends you have on Facebook.

How to Setup

  1. Have Python installed.
  2. Install the script and all dependencies via pip by simply running: pip install facebook-online-friend-tracker
  3. (Optional) Setup a cron job to run the script at a certain frequency. (I used 15 minute intervals).
  4. The command to run the script is: facebook-online-friend-tracker --user 'example@example.com' --pass 'your_password' --path 'path/to/csv_file.csv'
  5. After some time, you will be able to analyze the trend in the collected data. (I waited 2 full weeks before analyzing the data and finding the best time to post on Facebook.)