Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/etra0/my-facebook-analysis
https://github.com/etra0/my-facebook-analysis
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/etra0/my-facebook-analysis
- Owner: etra0
- Created: 2017-08-17T03:21:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-17T04:05:21.000Z (over 7 years ago)
- Last Synced: 2024-12-25T11:43:56.244Z (about 2 months ago)
- Language: Python
- Size: 608 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Analisis de mi Facebook
* [Introducción](https://github.com/etrastyle/my-facebook-analysis#introducción)
* [Resultados](https://github.com/etrastyle/my-facebook-analysis#resultados)
* [Requisitos](https://github.com/etrastyle/my-facebook-analysis#requisitos)
* [Instrucciones](https://github.com/etrastyle/my-facebook-analysis#instrucciones)# Introducción
Análisis de datos de mis estados de Facebook hecho totalmente en `python3`.
Actualmente puede generar 4 gráficos:
* La cantidad de likes por año
* La cantidad de <3 al año
* La cantidad de improperios
* top 20 amigos que dan más likes.## Resultados
![likes](https://github.com/etrastyle/my-facebook-analysis/blob/master/out/most_liked_year.png)
![loved](https://github.com/etrastyle/my-facebook-analysis/blob/master/out/most_loved_year.png)
![swear](https://github.com/etrastyle/my-facebook-analysis/blob/master/out/my_favourite_swear.png)## Requisitos
* Python 3
* [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/)
* [pandas](https://pandas.pydata.org/pandas-docs/stable/index.html)
* [matplotlib](https://matplotlib.org/)
* [requests](http://docs.python-requests.org/en/master/)## Instrucciones
1. Descargar el
[facebook-sdk](https://facebook-sdk.readthedocs.io/en/latest/install.html)
para python3.2. Activar el virtualenv según las instrucciones
del sdk de facebook3. Solicitar token en la [Graph API](https://developers.facebook.com/tools/explorer/)
4. Modificar `get_data.py`, guardando el token en su respectiva variable
y después ejecutar `python4 get_data.py`5. Salir del virtualenv escribiendo `deactivate`
6. Ejecutar `python3 plot.py`