An automated Python script that sends Snapchat photos with random filters to random recipients using UI automation.
IMPORTANT: This script is for educational purposes only. Use at your own risk. Automating social media applications may violate their Terms of Service and could result in account suspension or termination. The developers are not responsible for any consequences resulting from the use of this script. IMPORTANT: Most banking apps from my experience stop working when enabling USB debugging on android devices though upon deactivation they will start to work again.
- Automatically opens Snapchat camera
- Randomly selects filters from a predefined list
- Takes photos with selected filters
- Sends snaps to random recipients from a contact list
- Configurable number of snaps to send
- Android device with Snapchat installed
- Python 3.x
- ADB (Android Debug Bridge) enabled on your device
- USB debugging enabled on your Android device
- Clone this repository:
git clone <>
cd snapchat-automation- Install required Python packages:
pip install uiautomator2- Connect your Android device via USB and ensure ADB is working:
adb devices- Create two text files in the same directory as the script:
Add filter names (one per line). Example:
58991560878:namespace:LIVE_CAMERA_REAR
57939350875:namespace:LIVE_CAMERA_REAR
58592750875:namespace:LIVE_CAMERA_REAR
57851260876:namespace:LIVE_CAMERA_REAR
58592750875:namespace:LIVE_CAMERA_REAR
56337600876:namespace:LIVE_CAMERA_REAR
48627980875:namespace:LIVE_CAMERA_REAR
Add recipient names (one per line). Example:
John Doe
Jane Smith
Mike Johnson
Sarah Wilson
- Make sure Snapchat is installed and logged in on your Android device.
- Run the script:
python main.py-
When prompted, enter your device identifier (usually the device serial number or IP address if using wireless ADB).
-
Enter the number of snaps you want to send.
-
The script will automatically:
- Open Snapchat
- Navigate to the camera
- Select random filters
- Take photos
- Send them to random recipients from your list
The script uses uiautomator2 to interact with the Snapchat Android app through UI automation:
- Device Connection: Connects to Android device via ADB
- App Launch: Opens Snapchat application
- Camera Navigation: Ensures camera view is active
- Filter Selection: Randomly selects and applies filters
- Photo Capture: Takes photos with applied filters
- Recipient Selection: Chooses random recipients from the names list
- Send Process: Sends the snap and waits for completion
- Filters: Modify
Filter_Name.txtto include your preferred filter names - Recipients: Update
Names.txtwith your contact names - Timing: Adjust
time.sleep()values if the script runs too fast/slow for your device
- Device not found: Ensure USB debugging is enabled and device is properly connected
- UI elements not found: Snapchat UI may have changed; update resource IDs if necessary
- Script runs too fast: Increase sleep times between actions
- Filter/Name not found: Ensure exact spelling in text files matches what appears in the app
uiautomator2: For Android UI automationtime: For delays between actionsrandom: For random selection of filters and names
snapchat-automation/
├── main.py # Main automation script
├── Filter_Name.txt # List of filter names
├── Names.txt # List of recipient names
└── README.md # This file
This tool is intended for educational and personal use only. Users are responsible for:
- Complying with Snapchat's Terms of Service
- Respecting privacy and consent of recipients
- Following local laws and regulations
- Using the tool responsibly and ethically
Feel free to submit issues, feature requests, or pull requests to improve this script.
This project is provided as-is for educational purposes. Use responsibly and at your own risk.