TheSkallywag / SocialPath

Track users across social media platforms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Track users across social media platforms


Languages

Language:CSS 37.1%Language:HTML 25.5%Language:Python 24.1%Language:JavaScript 13.2%