I want to use the Python-Instagram package. I downloaded the package using a script that is provided at https://github.com/Instagram/python-instagram .
I tried to execute one of the scripts. However, I get the same error:ImportError: No module named client
from instagram.client import InstagramAPI
access_token = "YOUR_ACCESS_TOKEN"
api = InstagramAPI(access_token=access_token)
recent_media, next_ = api.user_recent_media(user_id="userid", count=10)
for media in recent_media:
print media.caption.text
What is a module client and how to install it? I registered a client with IG.
source
share