Write-up https://medium.com/@woj_ciech/socialpath-track-users-across-social-media-platforms-ed5226c8ee8c
Track users across social media platforms
Supported services:
- Facebook (posts only)
- Stackoverflow
App uses Django and D3js to draw charts.
Requirements:
- Django
- Tweepy
- PRAW
- Django related packages
- facebook_scraper
pip3 install -r requirements.txt
python3 manage.py makemigrations social
python3 manage.py migrate
python3 manage.py migrate social
python3 manage.py createsuperuser
python3 manage.py runserver
After that SocialPath will be accessible at localhost:8000/search
Paste your API keys into backend/keys.json Remember to escape double quotes (") in instagram cookie with \ in json
Change your timezone at socialpath/settings.py. It's important for scheduled background tasks.
Make sure you have added python3 to your PATH, app calls subprocess in social/views.py
You can check status of the tasks on http://localhost:8000/admin/background_task
Directory is created for each user with csv inside under /static/, for visualizations.