import sys
# import instaloader
from include import *


'''
username = 'INSTAGRAM_USERNAME_HERE'
password = 'INSTAGRAM_PASSWORD_HERE'


username = ''
password = ''


L = instaloader.Instaloader()
L.login(insta_username, insta_password)

profile = instaloader.Profile.from_username(L.context, 'areyoukhaled')

print ('you have ' + str(len(profile.get_followers())))

for post in profile.get_followers():
    print(post)

# followers = set(profile.get_followers())
# print('Fetching followers of profile: {} ' + len(followers) + ' .'.format(profile.username))
#
# print(followers)

print('Storing Followers into file.')
with open( PROFILE + ' (followers).txt', 'w+') as f:
 cnt = 1
 for follower in followers:
 print(follower.username, file=f)
 sys.stdout.write("%d of %d\r" %( cnt, len(followers)) )
 sys.stdout.flush()
 cnt+=1
'''
Facebook Comments
Last modified: July 28, 2019