Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Cant login #14

Open
NicolaiVdS opened this issue May 2, 2016 · 3 comments
Open

Cant login #14

NicolaiVdS opened this issue May 2, 2016 · 3 comments

Comments

@NicolaiVdS
Copy link

NicolaiVdS commented May 2, 2016

Hello when i try this

var Snap = require('snapchat');
  // var config = require('config.json')('./config.json');

var client = new Snap();
client.signIn('deliemoilekes', 'MYPASS', 'deliemoilekes@gmail.com', 'MYPASS', function (err, session) {
  if (!err) {
    console.log('signed in', client.username);
  } else {
    console.log(err);
  }
});

i get this error

[root@localhost Snapchat]# DEBUG=snapchat,snapchat:* node index.js
  snapchat new snapchat client +0ms
  snapchat Snapchat.signIn (username deliemoilekes) +3ms
  snapchat error getting attestation +612ms
Snapchat._getAttestation unknown error

@lucdetellis
Copy link

lucdetellis commented May 29, 2016

+1, having the same issue:

.../node_modules/snapchat/node_modules/bluebird/js/main/async.js:43
        fn = function () { throw arg; };
                                 ^
Snapchat._getAttestation unknown error

Node 0.10.44
Mac OS 10.11.3

@daschy
Copy link

daschy commented Jul 4, 2016

+1 me too

DEBUG=snapchat,snapchat:* SNAPCHAT_USERNAME=scUsername SNAPCHAT_PASSWORD=scPassword SNAPCHAT_GMAIL_EMAIL=daschy1982@gmail.com SNAPCHAT_GMAIL_PASSWORD=gmailPwd node index.js

snapchat new snapchat client +0ms
  snapchat Snapchat.signIn (username matiseams) +2ms
  snapchat error getting attestation +1s
err Snapchat._getAttestation unknown error 

When I run the tests (ex: auth.js)

DEBUG=snapchat,snapchat:* SNAPCHAT_USERNAME=scUsername SNAPCHAT_PASSWORD=scPassword SNAPCHAT_GMAIL_EMAIL=daschy1982@gmail.com SNAPCHAT_GMAIL_PASSWORD=gmailPwd node ./test/auth.js

snapchat:request Snapchat Request Error: 404 (Not Found)
endpoint: https://api.casper.io/droidguard/create/binary
headers: {"Content-Type":"application/x-www-form-urlencoded","User-Agent":"Snapchat/9.14.2.0 (SM-N9005; Android 5.0.2; gzip)","Accept-Language":"en","Accept-Locale":"en_US"}
request:  +570ms
  snapchat Attstation droidguarbinary error Snapchat API error 404 (Not Found) +0ms
buffer.js:67
    throw new TypeError('must start with number, buffer, array or string');

Node 0.12
MAC OS 10.11.5

@odm7341
Copy link

odm7341 commented Oct 14, 2016

+1 also happening here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants