A SnapChat client in Node.js
EUPL-1.1 License
A SnapChat client in Node.js
I'm getting 400: Bad request when trying to login to snapchat. Any chance this can be fixed?
I want to use Sourcegraph for node-snapchat code search, browsing, and usage examples. Can an admin enable Sourcegraph for this repository? Just go to https://sourcegraph.com/github.com/nykac/node-snapchat. (It should only take 30 seconds.)
Thank you!
Hey, in the download_pending_snaps.js example, the pictures that are downloaded end up being completely empty.
The code is giving me an error : "stream.js:94 throw err; //Unhandled stream error in pipe."
I tried logging "blob" and the first line says "_connecting:false" which seems like a problem.
Can you please add more examples like one showing how to send snaps. This is a great project and I appreciate your work. Thanks in Advance.
node example/download_pending_snaps.js
puts snaps in images
, but they will not open in Preview or Photoshop for me on OS X.
Did Snapchat change their encryption key?
Buffer( ) from line 36 is deprecated so i should use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. I tried but "TypeError [ERR_INVALID_ARG_TYPE]: The "size" argument must be of type number. Received type string ('4d3032636e5135314a693937...)"
So i don't know how to fix that.
Using the following:
var fs = require('fs');
var snapchat = new (require('snapchat').Client)();
snapchat.login(USERNAME, PASSWORD);
var stream = fs.createReadStream('sloth.jpg');
snapchat.upload(stream, FRIEND);
I receive the following error:
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>500 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered an error and could not complete your request.<p>If the problem persists, please <A HREF="http://code.google.com/appengine/community.html">report</A> your problem and mention this error message and the query that caused it.</h2>
<h2></h2>
</body></html>
Any ideas why? Have they changed the endpoint for uploads?
Reads var ts = ' '+Date.now();
While other lines read var ts = Date.now().toString;
Not sure if this is a bug or necessary thanks.
Hey. Loving the library.
I noticed that in client.js#send there's a hardcoded time-value on line 130, so all imagesnaps sent are 3 seconds in duration.
Thought you oughta know :)
Everytime I use the upload.js example, I get disconnected from Snapchat on my Android device.
Is there any way to fix that ?
I can't seem to get uploads working, is there an example i can take a look at somewhere?
How should we implement this.
If we use the /loq/login and /loq/all_updates we'll break compatibility with existing code. Perhaps we could emulate the old sync and login objects.
We just need to figure out how to decrypt the data with node/openssl.
In php it's MCRYPT_RIJNDAEL_128 in CBC mode.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.