Open vinnitu opened 9 years ago
Sending contact requests and searching for contacts is on the way aren't currently implemented (it's scheduled for 0.0.3). For now it's only possible to accept or decline contact requests that was sent to you.
Hm, I send request from linux skype and from web.skype.com but I don't see any accept action :-\ Does it work correctly?
It has it's limitation. The polling for auth requests is executed every 120 seconds (otherwise skype sends "too much requests" error and refuses to give auth requests at all), so there may be 120 seconds lag.
It probably will be fixed in next release.
And make sure that you've cloned the repo and not installed via npm. Version with support for auth requests isn't on npm yet.
I used git clone
Can you please check your logs for smth like "Something went wrong!Failed to accept friend"
nothing except
Skyweb is initialized now
Here is some info about you:{
"username": "...",
"namespace": null,
"displayname": "...",
"firstname": "...",
"lastname": null
}
Your contacts : [
{
"authorized": true,
I was actually trying to start a demo and did get:
Something went wrong!Failed to get registrationToken.
running it on linux instead of OSX, i am not getting :+1:
/home/ashneyder/skyweb/dist/login.js:14
var functions = [new Promise(this.sendLoginRequest.bind(this, skypeAcc
^
ReferenceError: Promise is not defined
at Login.doLogin (/home/ashneyder/skyweb/dist/login.js:14:30)
at Skyweb.login (/home/ashneyder/skyweb/dist/skyweb.js:19:42)
at Object.
@ashneyder I've added e6-promise polyfill, It should work now on older node, so "ReferenceError: Promise is not defined" shouldn't occur. As for "Something went wrong!Failed to get registrationToken.": I've added more details to error message. Please try again and provide error message.
Sending of contact request is not implemented yet i think, and its actually dont possible, couse skype for web have bug, when user accepts u, you still see him as "not accepted".
I saw new feature you added yesterday, but I don't understand how to send contact request to other contact?