Git Product home page Git Product logo

twitter-followers-graph's Issues

Fetching the screen names

I'm following the readme and I'm trying to use fetch the screen names with api_followers_names. I expected to fetch screen names.

This is the result:

usage: egonet.py [-h] -u USER -f
                 {followers,followees,followers_graph,followees_graph}
                 [--force FORCE]
egonet.py: error: argument -f/--function: invalid choice: 'api_followers_names' (choose from 'followers', 'followees', 'followers_graph', 'followees_graph')

I've search the repo and the only reference to api_followers_names is in the readme.

Tokens in external file

Now tokens / keys are set inside the followers.py file. Instead, they should be stored in a private external file and the script should read the tokens from there.

FileNotFoundError: [Errno 2] No such file or directory

Cuando intento realizar un grafo a partir de los seguidores descargados me da ese error, y me imagino que es porque falta el fichero del usuario en el que mande a hacer las búsqueda, acaso es que se genera de ultimo ese fichero

Pass arguments to script

Now the script is called as:

python followers.py

and parameters (user and method to use) have to be set editing the script.

It should be:

python followers.py -u alberto_lm -f api_followers
python followers.py -u alberto_lm -f api_screen_names 
python followers.py -u alberto_lm -f graph

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.