Code Monkey home page Code Monkey logo

socialpath's Introduction

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

socialpath's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.