The following code:
import instagram
count = instagram.get_posts_hashtags('hashtag','shopcider', None)
error:
File "", line 219, in _call_with_frames_removed
File "C:\Users\Administrator\Desktop\instagram-scraper-main\instagram.py", line 220, in
data = get_posts_username('username','thenameisyash',None)
File "C:\Users\Administrator\Desktop\instagram-scraper-main\instagram.py", line 125, in get_posts_username
parameters['user_id'] = md.save_user_meta_data(posts_graph,type,name)
File "C:\Users\Administrator\Desktop\instagram-scraper-main\modules.py", line 176, in save_user_meta_data
user_meta_data = {k: v for (k, v) in user_graph.items() if k not in excluded_user_keys}
AttributeError: 'NoneType' object has no attribute 'items'