Code Monkey home page Code Monkey logo

Comments (4)

dannyvassallo avatar dannyvassallo commented on June 16, 2024 1

@roccomuso I was having issues with the install because of the included ursa package on NPM. What I did to get the install to pass was npm install git://github.com/fisch0920/snapchat.git. I'm not sure our issues were the same but I am on Node 6 and had the install work after realizing that my failure was coming from [email protected] or something and the listed version in this repo's package.json was 9

from snapchat.

roccomuso avatar roccomuso commented on June 16, 2024

@dannyvassallo So you were able to have it working? does it work or there's some issue with breaking changes made on the snapchat unofficial API?

from snapchat.

dannyvassallo avatar dannyvassallo commented on June 16, 2024

@roccomuso same Snapchat._getGoogleAuthToken error 827:21 issue now that the install takes -- I've cloned the package and am peeking at the code but I'm not sure it's an issue with snapchat itself or something with the auth into google. It seems the offending code is this request:

Request.postRaw({
      'url': 'https://android.clients.google.com/auth',
      'form': {
        'google_play_services_version': '7097038',
        'device_country': 'us',
        'operatorCountry': 'us',
        'lang': 'en_US',
        'sdk_version': '19',
        'accountType': 'HOSTED_OR_GOOGLE',
        'Email': gmailEmail,
        'EncryptedPasswd': encryptedGmailPassword,
        // 'Passwd': gmailPassword, // unencrypted version
        'service': 'audience:server:client_id:694893979329-l59f3phl42et9clpoo296d8raqoljl6p.apps.googleusercontent.com',
        'source': 'android',
        'androidId': '378c184c6070c26c',
        'app': 'com.snapchat.android',
        'client_sig': '49f6badb81d89a9e38d65de76f09355071bd67e7',
        'callerPkg': 'com.snapchat.android',
        'callerSig': '49f6badb81d89a9e38d65de76f09355071bd67e7'
      },
      'headers': {
        'device': '378c184c6070c26c',
        'app': 'com.snapchat.android',
        'Accept-Encoding': 'gzip',
        'User-Agent': 'GoogleAuth/1.4 (mako JDQ39)'
      }
    }

I'm trying to resolve this (if that's even possible), but I've also stumbled across this article here. I'm not sure what this means for the functionality we're used to with these packages -- but I guess we'll find out. I'll post back if I can resolve this.

from snapchat.

roccomuso avatar roccomuso commented on June 16, 2024

ok, well anyway seems to be that soon they will release their official API, let's see :)

from snapchat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.