Giter Club home page Giter Club logo

psnjs's People

Contributors

cubehouse avatar jhewt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

psnjs's Issues

Unable to log into PSN

I suspect Sony's changed the login process as this was working a few weeks ago, but now it's not.

Using the first example in the README.md (under API setup), I've updated the script to use my PSN email and password but I consistently have the same failure. The log I get is:

[PSN] :: Need to login - no auth token found
[PSN] :: Need to fetch access tokens - tokens expired
[PSN] :: Need to fetch userdata - no region or username available
[PSN] :: Making OAuth Request...
[PSN] :: Logging in...
[PSN] :: Failed to make login request
[PSN] :: Token error: Error: socket hang up
Error fetching trophies: Error: socket hang up

WebSocket Connection to receive new PSN Messages

Hey there!

Thanks for your great API. I was thinking about using it in the near future. One idea I had was using electron to built a PSN chat client for the desktop.

Do you have any idea where I could start looking to reverse engineer the web socket connection to receive new messages? You can chat on the playstation website so I would assume they use web sockets for that. That would of course by my first point to look at but maybe you remember something more from the work on your module.

Try to log in more than once breaks it

[PSN] :: Need to login - no auth token found
[PSN] :: Need to fetch access tokens - tokens expired
[PSN] :: Need to fetch userdata - no region or username available
[PSN] :: Making OAuth Request...
[PSN] :: Logging in...
[PSN] :: Following login...
url.js:79
throw new TypeError('Parameter "url" must be a string, not ' + typeof url);
^

TypeError: Parameter "url" must be a string, not undefined

Server response error 4159

I've got code using the PSNjs library that's been working and hasn't changed, and is now issuing a "Server response error 4159: Invalid refresh token" when trying to connect and fetch a friends list.

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.