GithubHelp home page GithubHelp logo

instamanage's People

Contributors

realtux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

instamanage's Issues

config.json not found even though it is there!

linux@linux ~/Scripts/python/instamanage $ python instamanage.py
  File "instamanage.py", line 12
    print 'please create a config.json file (config_sammple.json in root)'

drwxrwxr-x 3 linux linux 4096 Oct 2 16:01 .
drwxrwxr-x 5 linux linux 4096 Oct 2 16:01 ..
-rw-rw-r-- 1 linux linux 66 Oct 2 16:01 config.json
-rw-rw-r-- 1 linux linux 66 Oct 2 16:01 config_sample.json
drwxrwxr-x 8 linux linux 4096 Oct 2 16:01 .git
-rw-rw-r-- 1 linux linux 28 Oct 2 16:01 .gitignore
-rw-rw-r-- 1 linux linux 11692 Oct 2 16:01 instamanage.py
-rw-rw-r-- 1 linux linux 717 Oct 2 16:01 readme.md

Needs a Whitelist Option

There should be a simple configuration option which allows to whitelist specific users to be excluded from any automatic unfollowing actions, even if they don't follow back.

Not Re-Follow Unfollowed Users

Thanks for the great code - works very well. I was wondering if there was any way to write the usernames of who has been unfollowed to a text file. I would like to be able to check the list manually to avoid re-following someone who has just been unfollowed by the script.

Human Readable Output

Currently the script doesn't produce any useful human-readable output, neither in the STDOUT output:

building follower list...
found 156 followers
done finding followers
building following list...
found 330 following
done finding following
found 175 people who you follow but don't follow you back
writing data to state.json

โ€ฆ nor in the generated state.json file (only cryptic numerical user IDs inside).

At some stage it should print the list of users with their proper user name. Maybe like this:

building follower list...
found 10 followers
done finding followers
building following list...
found 12 following
done finding following
found 2 people who you follow but don't follow you back:
    UserA
    UserB
writing data to state.json

No JSON could be decoded

It seems that Instagram changed their endpoint. followers (link) gets 404 back.

console output:

attempting login...
logged in successfully
building follower list...
Traceback (most recent call last):
  File "instamanage.py", line 419, in <module>
    menu()
  File "instamanage.py", line 94, in menu
    start_sync()
  File "instamanage.py", line 135, in start_sync
    data = json.loads(followers.text)
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
logging out...

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.