microsoftarchive / api

The Wunderlist API Documentation
123 stars 37 forks source link

Need Help : How to use web sockets to sync webapp and custom app #131

Open akanshgulati opened 6 years ago

akanshgulati commented 6 years ago

I tried using the example Underlist application by running http-server, its fetching lists and tasks in it through http call but if I make any update in web app of Wunderlist, Underlist is not updated with latest changes. I tried to see the errors and found this error

WebSocket connection to 'wss://socket.wunderlist.com:8443/api/v1/sync?client_id=d63bcf15740b10b6790a&access_token=ACCESS-TOCKET&client_device_id=undefined&client_instance_id=undefined' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

How can I get latest updates of webapp in Underlist by sockets? Do I have to change the domain of my application to localhost to enable sockets or is there any other way by which I can use long poling or sockets to get latest content on application?

akanshgulati commented 6 years ago

@schlubbi @zedgoat Please help

ghost commented 6 years ago

Apologies, not much to contribute here: haven't worked with this API in a while now, or over websockets.