Skip to content

MrPanda009/Snap-Macro-V2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Snapchat Automation Script

An automated Python script that sends Snapchat photos with random filters to random recipients using UI automation.

⚠️ Disclaimer

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.

Features

  • 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

Prerequisites

  • Android device with Snapchat installed
  • Python 3.x
  • ADB (Android Debug Bridge) enabled on your device
  • USB debugging enabled on your Android device

Installation

  1. Clone this repository:
git clone <>
cd snapchat-automation
  1. Install required Python packages:
pip install uiautomator2
  1. Connect your Android device via USB and ensure ADB is working:
adb devices

Setup

  1. Create two text files in the same directory as the script:

Filter_Name.txt

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

Names.txt

Add recipient names (one per line). Example:

John Doe
Jane Smith
Mike Johnson
Sarah Wilson
  1. Make sure Snapchat is installed and logged in on your Android device.

Usage

  1. Run the script:
python main.py
  1. When prompted, enter your device identifier (usually the device serial number or IP address if using wireless ADB).

  2. Enter the number of snaps you want to send.

  3. The script will automatically:

    • Open Snapchat
    • Navigate to the camera
    • Select random filters
    • Take photos
    • Send them to random recipients from your list

How It Works

The script uses uiautomator2 to interact with the Snapchat Android app through UI automation:

  1. Device Connection: Connects to Android device via ADB
  2. App Launch: Opens Snapchat application
  3. Camera Navigation: Ensures camera view is active
  4. Filter Selection: Randomly selects and applies filters
  5. Photo Capture: Takes photos with applied filters
  6. Recipient Selection: Chooses random recipients from the names list
  7. Send Process: Sends the snap and waits for completion

Configuration

  • Filters: Modify Filter_Name.txt to include your preferred filter names
  • Recipients: Update Names.txt with your contact names
  • Timing: Adjust time.sleep() values if the script runs too fast/slow for your device

Troubleshooting

Common Issues:

  1. Device not found: Ensure USB debugging is enabled and device is properly connected
  2. UI elements not found: Snapchat UI may have changed; update resource IDs if necessary
  3. Script runs too fast: Increase sleep times between actions
  4. Filter/Name not found: Ensure exact spelling in text files matches what appears in the app

Dependencies:

  • uiautomator2: For Android UI automation
  • time: For delays between actions
  • random: For random selection of filters and names

File Structure

snapchat-automation/
├── main.py              # Main automation script
├── Filter_Name.txt      # List of filter names
├── Names.txt           # List of recipient names
└── README.md          # This file

Legal Notice

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

Contributing

Feel free to submit issues, feature requests, or pull requests to improve this script.

License

This project is provided as-is for educational purposes. Use responsibly and at your own risk.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages