diff --git a/examples/fetch_all_new_photos.php b/examples/fetch_all_new_photos.php index 94d6420..1924326 100644 --- a/examples/fetch_all_new_photos.php +++ b/examples/fetch_all_new_photos.php @@ -39,7 +39,7 @@ $ext = '.jpg'; else $ext = '.mp4'; - file_put_contents($snap['id'].$ext, $blob_data); + file_put_contents($snap['c_id'].$ext, $blob_data); } } }