"
203 | if not access_token:
204 | return 'Missing Access Token'
205 | try:
206 | api = client.InstagramAPI(access_token=access_token, client_secret=CONFIG['client_secret'])
207 | # 25025320 is http://instagram.com/instagram
208 | user_follows, next = api.user_follows('25025320')
209 | users = []
210 | for user in user_follows:
211 | users.append('
%s
' % (user.profile_picture,user.username))
212 | while next:
213 | user_follows, next = api.user_follows(with_next_url=next)
214 | for user in user_follows:
215 | users.append('