You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.
getSnaps(true) seems to print the image to the terminal instead of downloading the snap to the snaps folder.
<?phprequire_once('src/snapchat.php');
$username = "XXXXX"; // Your snapchat username$password = "XXXXXX"; // Your snapchat password$debug = true; // Set this to true if you want to see all outgoing requests and responses from server$auth_token = NULL;
$snapchat = newSnapchat($username, $auth_token, $debug);
//Login to Snapchat with your username and password$snapchat->login($username, $password);
// Get snaps data$snapchat->getSnaps();
// Automatically downloads Snaps and store it in 'snaps' folder$snapchat->getSnaps(true);
?>
Here is the output:
The text was updated successfully, but these errors were encountered:
getSnaps(true)
seems to print the image to the terminal instead of downloading the snap to thesnaps
folder.Here is the output:
The text was updated successfully, but these errors were encountered: