Skip to content
Track users across social media platforms
CSS HTML Python JavaScript
Branch: master
Clone or download
Latest commit 2803cc0 Sep 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
backend Add files via upload Sep 23, 2019
social Add files via upload Sep 23, 2019
socialpath Add files via upload Sep 23, 2019
README.md Update README.md Sep 23, 2019
manage.py Add files via upload Sep 23, 2019
requirements.txt Add files via upload Sep 23, 2019

README.md

SocialPath

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)
  • Twitter
  • Stackoverflow
  • Instagram
  • Reddit

App uses Django and D3js to draw charts.

Requirements:

  • Django
  • Tweepy
  • PRAW
  • Django related packages
  • facebook_scraper

Install

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.

Screens

You can’t perform that action at this time.