Skip to content

Commit

Permalink
file renamed & typo
Browse files Browse the repository at this point in the history
  • Loading branch information
m-primo committed Jun 3, 2021
1 parent c8014fb commit 93b2c4b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You'll need to have:

Once that's all set up:

1. Clone this repository ```git clone https://github.com/m-primo/facebook-friends``` .
1. Clone this repository ```git clone https://github.com/m-primo/facebook-friends```.
2. Go to the cloned directory ```cd facebook-friends```.
3. Install the requirements ```pip install -r requirements.txt```.

Expand All @@ -28,21 +28,21 @@ password=yourpassword
# Run

## 1st degree friend connections (your friends)
1. Run ```python facebook-friends.py```.
1. Run ```python app.py```.
2. It will open a browser window and will fill your username & password automatically.
3. You should see your Facebook friends page and the page will be scrolling to the bottom automatically.
4. A CSV file will be created with the data (1st-degree_YYYY-MM-DD_HHMM.csv).
4. A CSV file will be created with the data in the `data` directory with the name `1st-degree_YYYY-MM-DD_HHMM.csv`.

## 2nd degree friend connections (your friend's friends)
*Note: This could take days if you have a lot of friends!*
1. Get your 1st degree connections first, so you should have the 1st-degree CSV file.
2. Put the 1st-degree CSV in the same directory as `facebook-friends.py`.
3. Run ```python facebook-friends.py 1st-degree_YYYY-MM-DD_HHMM.csv```, with the actual CSV filename.
1. You should have the 1st-degree CSV file. So, get your 1st degree connections first.
2. Put the 1st-degree CSV in the `data` directory.
3. Run ```python app.py data/1st-degree_YYYY-MM-DD_HHMM.csv``` with the actual CSV filename.
4. A browser window will open.
5. You should see the script looping through your Facebook friend's friend pages.
6. A CSV file will be created with the data (2nd-degree_YYYY-MM-DD_HHMM.csv).
6. A CSV file will be created with the data in the `data` directory with the name `2nd-degree_YYYY-MM-DD_HHMM.csv`.

## Disconnections (who unfriended you)
1. Run ```python facebook-friends.py 1st-degree_YYYY-MM-DD_HHMM.csv un```, with the actual CSV filename.
1. Run ```python app.py data/1st-degree_YYYY-MM-DD_HHMM.csv un```, with the actual CSV filename.
2. It will do the same as "1st degree connections" to get your current friends.
3. You should see who unfriended you, and also it will be saved in CSV file (1st-degree-disconnections_YYYY-MM-DD_HHMM.csv).
3. You should see who unfriended you, and also it will be saved in CSV file in the `data` directory with the name `1st-degree-disconnections_YYYY-MM-DD_HHMM.csv`.
File renamed without changes.

0 comments on commit 93b2c4b

Please sign in to comment.