All Projects → transitive-bullshit → Snapchat

transitive-bullshit / Snapchat

Licence: mit
NodeJS client for the unofficial Snapchat API

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Snapchat

Snapchat Filter
3 facial filters on a webcam feed using OpenCV & ML - face swap, glasses and moustache
Stars: ✭ 35 (-84.37%)
Mutual labels:  snapchat
Mdm
A TensorFlow implementation of the Mnemonic Descent Method.
Stars: ✭ 120 (-46.43%)
Mutual labels:  snapchat
Swiftycam
A Snapchat Inspired iOS Camera Framework written in Swift
Stars: ✭ 1,879 (+738.84%)
Mutual labels:  snapchat
Edxposed Snapchat Bypass
Elder driver Xposed Framework. W / Snapchat Bypass
Stars: ✭ 49 (-78.12%)
Mutual labels:  snapchat
Diimageview
A Snapchat-inspired caption integrated within a regular UIImageView.
Stars: ✭ 104 (-53.57%)
Mutual labels:  snapchat
React Native Story
React native instagram story
Stars: ✭ 144 (-35.71%)
Mutual labels:  snapchat
Stealing Ur Feelings
Winner of Mozilla's $50,000 prize for art and advocacy exploring AI
Stars: ✭ 784 (+250%)
Mutual labels:  snapchat
Pbjvision
📸 iOS Media Capture – features touch-to-record video, slow motion, and photography
Stars: ✭ 1,940 (+766.07%)
Mutual labels:  snapchat
Simple Snapchat
A Snapchat clone developed in Swift 3 and Firebase
Stars: ✭ 113 (-49.55%)
Mutual labels:  snapchat
Snapchatcheckbox
A Snapchat-inspired checkbox.
Stars: ✭ 147 (-34.37%)
Mutual labels:  snapchat
Opencv Face Filters
Snapchat-like Face Filters in OpenCV
Stars: ✭ 51 (-77.23%)
Mutual labels:  snapchat
Snapstory
👻 A public SnapChat story downloader
Stars: ✭ 68 (-69.64%)
Mutual labels:  snapchat
Hybridcamera
Video and photo camera for iOS
Stars: ✭ 145 (-35.27%)
Mutual labels:  snapchat
Shellphish
Phishing Tool for 18 social media: Instagram, Facebook, Snapchat, Github, Twitter, Yahoo, Protonmail, Spotify, Netflix, Linkedin, Wordpress, Origin, Steam, Microsoft, InstaFollowers, Gitlab, Pinterest
Stars: ✭ 1,037 (+362.95%)
Mutual labels:  snapchat
Nextlevel
NextLevel was initally a weekend project that has now grown into a open community of camera platform enthusists. The software provides foundational components for managing media recording, camera interface customization, gestural interaction customization, and image streaming on iOS. The same capabilities can also be found in apps such as Snapchat, Instagram, and Vine.
Stars: ✭ 1,940 (+766.07%)
Mutual labels:  snapchat
Snapcode
👻 A simple command-line tool to download SnapChat codes.
Stars: ✭ 18 (-91.96%)
Mutual labels:  snapchat
Facelandmarksdetection
Finds facial features such as face contour, eyes, mouth and nose in an image.
Stars: ✭ 130 (-41.96%)
Mutual labels:  snapchat
Swiftsnapper
Open source Snapchat client for Windows 10
Stars: ✭ 225 (+0.45%)
Mutual labels:  snapchat
Socialblocklists
Blocklists to block the communication to social networking sites and privacy harming services
Stars: ✭ 161 (-28.12%)
Mutual labels:  snapchat
Jeelizfacefilter
Javascript/WebGL lightweight face tracking library designed for augmented reality webcam filters. Features : multiple faces detection, rotation, mouth opening. Various integration examples are provided (Three.js, Babylon.js, FaceSwap, Canvas2D, CSS3D...).
Stars: ✭ 2,042 (+811.61%)
Mutual labels:  snapchat

Snapchat

STATUS

This library is not being actively maintained and AFAIK there is no easy way to get it working due to Snapchat updates and the Casper service no longer being public. If anyone is interested in adopting this project or knows a workaround to get this library working again, please feel free to reach out.

Nodejs client for the unofficial Snapchat API

This project is a node.js port of the excellent Objective-C SnapchatKit library by Tanner Bennett (ThePantsThief).

It provides an easy-to-use client interface to Snapchat's unofficial API, allowing Javascript developers to script Snapchat!

Install

npm install snapchat

Usage

The main entrypoint is the Snapchat class. See the auto-generated documentation for a detailed API reference.

Snapchat defaults to using required signin credentials stored in environment variables:

  • SNAPCHAT_USERNAME The Snapchat username to sign in with.
  • SNAPCHAT_PASSWORD The password to the Snapchat account to sign in with.
  • SNAPCHAT_GMAIL_EMAIL A valid GMail address.
  • SNAPCHAT_GMAIL_PASSWORD The password for the GMail address.
var Snapchat = require('snapchat')

var client = new Snapchat()
// note the signIn will default to credentials stored in environment variables
client.signIn(function (err, session) {
  if (!err) {
    console.log('signed in', client.username)
  }
})

Or with explicit credentials:

var Snapchat = require('snapchat')

var client = new Snapchat()
client.signIn('myusername', 'mypassword', '[email protected]', 'mygmailpassword', function (err, session) {
  if (!err) {
    console.log('signed in', client.username)
  }
})

NOTE Only Snapchat accounts created via an Android client should be used with this library. iOS accounts are handled separately by Snapchat, and your account will most likely be flagged / disabled as suspicious if you try to use a Snapchat account created on iOS.

NOTE Any valid gmail address and password may be used; it does not have to be the one the Snapchat user was created with.

Contribute

js-standard-style

See CONTRIBUTING.

Debugging

You can enable debug logs by setting the DEBUG environment variable:

DEBUG=snapchat,snapchat:*; # debug all snapchat submodules

Third party resources

Credits

  • Tanner Bennett (ThePantsThief), the auther of the Objective-C library SnapchatKit, which this version is heavily based on.
  • Everyone who built and maintains the PHP implementation.
  • See nykac's old node version.
  • Liam Cottle for his tenacious work on Casper and the API service he provides.

Author

Travis Fischer GitHub/fisch0920 Twitter/@fisch0920

Todo

  • MORE TESTS
  • rate limiting (currently test suite is failing with 401 errors because of rate limiting issues)
  • check logged status in Request.start response handler
  • handle request encoding properly for blobs and non-text requests
  • sendEvents inconsistent between Array[event] and event

License

MIT. Copyright (c) Travis Fischer.

Legal

I believe it's 100% legal to use a "private" REST API and that there are no laws explicitly prohibiting the use of "private" REST APIs. However, this does not mean that the makers of these private APIs can't try to sue you under something overly-broad, such as the CFAA. I don't think Snapchat will, personally; in my experience they've only gone after developers for copyright disputes.

Disclaimer: The name "Snapchat" is a copyright of Snapchat™, Inc. This project is in no way affiliated with, sponsored, or endorsed by Snapchat™, Inc. I, the project owner and creator, am not responsible for any legalities that may arise in the use of this project. Use at your own risk.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].