Beispiel #1
0
def instagram_photo_thumb(uid):
    photopath = insta.photo_cache_path(uid, resolution=insta.THUMBNAIL)
    return send_file(photopath, mimetype="image/jpeg")
Beispiel #2
0
def instagram_photo(uid):
    photopath = insta.photo_cache_path(uid, resolution=insta.STANDARD)
    return send_file(photopath, mimetype="image/jpeg")