python - Trying to find follower count in Instagram API -


I followed like to find love count for a particular user if you were using Instagram API Console m:

  instagram.client import InstagramAPI ACCESS_TOKEN = "access token" API = InstagramAPI (ACCESS_TOKEN = ACCESS_TOKEN) user_info = api.user (user_id) Print user_info   "Data": {"username": "data": "i.e.", when I am using the user_id search API console  
  {"meta": {"code": 200} IGname "" Bio ":" Comment, "Website": "http: // instagram," Profile_picture ":" photo "," FULL_NAME ":" IGRealname "" counts ": {" media "Number 1," followed_by ": No. 2," follows ": No. 3}," id ":" IGUserID "}   

I want to follow the user name with field to output the dragon, as follows, and after that.

All I'm getting is the username and that's it.

You can use this:

  user_followers, next_ = APIs user_followed_by () while next_: more_user_followers, next_ = api.user_followed_by (with_next_url = next_) #this you will find all your followers user_followers.extend (more_user_followers) Lane (user_followers) #this followers of you    

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -