samczsun / Skype4J

Skype API written in Java. Does not support P2P chats
Apache License 2.0
145 stars 48 forks source link

Please add email support or help me resolve username issue #128

Open davidkoplik opened 8 years ago

davidkoplik commented 8 years ago

I created an account just for my Skype Bot, but I see it only supports email as a username. Is there a way to login into Skype with your Skype Bot with email? Because I think there is no way I can get a normal username anymore other than email.

ducc commented 8 years ago

Your username is probably in this format: live:username Login with that full string & it should work. If you can't find your username ask a friend to get it for you.

solo-yolo commented 8 years ago

i'm experiencing similar issue. i've recently created new account for bot and it got username in format live:email-without-domain and while i am able to login to https://web.skype.com with those credentials, getting annoying error {"status":{"code":40120,"text":"Authentication failed. Bad username or password."}} when doing same from code. anyone knows how to solve this?

nanda1505 commented 7 years ago

I am experiencing the same issue. I have created a new Skype Account for the BOT using email as the login ID. I am able to login to web.skype.com using the email as the username.... But the moment I use try to use the same credentials in my BOT code, its giving me the following error. {"status":{"code":40120,"text":"Authentication failed. Bad username or password."}}.

Also, when I am trying to access the username, I am not able to get the same.

Waiting for the response/suggestion/solution...

ducc commented 7 years ago

Not a solution, but if you create a new skype account on IOS it doesn't have the live: prefix.

nanda1505 commented 7 years ago

you can create an account using Email Id or using your Mobile Number.... I had tried creating an account using Email Id, and I am not able to connect to it. Should I try now for Mobile Number....

GalHorowitz commented 7 years ago

@itsGhost Could you explain? I didn't udnerstand what I should do...

GalHorowitz commented 7 years ago

@itsGhost I do know what I'm doing. The structure is not what I'm looking for. getXtoken always return null for some bizzare reason.

Manevolent commented 7 years ago

There really is no need to be an ass to someone else who needs help. Be respectful.

Manevolent commented 7 years ago

You honestly come across as a five year-old with how aggressive you are around here. In other news I might put together a pull request for this if this hasn't been fixed yet

Manevolent commented 7 years ago

You need to calm down, just get the issue resolved and not dirty it with spam. Thanks for the fix regardless, saves me time.

samczsun commented 7 years ago

Have you considered that the fact I'm inactive across all projects means that I might be busy with other, more important, stuff? Open source is nice if there's time but when I have other commitments I do those first.

I'm aware of the state of this project (i.e. broken) but until I get some time freed up there's not much I can do about it. If you want to flame and/or make claims with no factual basis (i.e. my copying from an open wiki) then I'll be happy to show you the door.

Please don't consider arguing with my reply. I'll work on this when I have the time. That's the way it's always been and it's the way it's going to stay. You can choose to disagree but try to keep the disagreement civil or I'll be forced to start deleting the more vulgar comments.

ducc commented 7 years ago

xd this got heated xd

GalHorowitz commented 7 years ago

The thing that makes me laugh, is that itsGhost has no right to be angry, sam is doing this for free, open source, in his own time. He doesnt owe any of us anything. If he doens't want to work on this, he can chose so.

GalHorowitz commented 7 years ago

a) When you call me an idiot it does b) Well it seems like it from the last 5 raging comments c) Seems like all you know is how to curse, so keep on going d) Even if he promised he would work on it, he doesnt owe you anything. He can right here right now delete this repository and you can go search.

GalHorowitz commented 7 years ago

Whatever you want kiddo. You keep on arguing but at the end of the road you are raging and I'm completely fine.

GalHorowitz commented 7 years ago

Whatever makes you feel better.

samczsun commented 7 years ago

1) I'm neither obligated or required to divulge my entire schedule to you, nor am I ever going to. If I don't want to tell you my schedule, I'm going to tell you that. If you still won't stop annoying me, I will lie to you so you shut up. If you think the world revolves around you and your need for stuff to get done, you need to wake up. I start projects if I want, and I'll pause projects if I want too. It's my project, and therefore my rules apply.

2) Explain how I implemented stuff like the banlist, topic, and active status - things which weren't in the web client at the time? Actually, don't. I don't want to hear it.

3) I will gladly censor everything, starting now. This issue thread could have been a clean issue thread like any other, until you decided to turn around and attack everyone else here. I realise that there are no 'rules' which have been set in place but I expect that common sense should prevail, which it clearly didn't.

As a result, you are no longer welcome in this project, or any other projects or mine. Please refrain from posting any replies, especially of the snarky type.

When this reply has been posted, I will be going through all of your comments in this thread, and I will be editing out the vulgarity. If you post any more replies, they will be deleted. That is all.

Manevolent commented 7 years ago

Just a heads up, the fix provided does indeed work, but it needs XML sanitation since it's just a straightforward String.format, which can be found in apache commons-lang3 if anyone is curious.

You'll also need to use the skypename property returned from the json in https://api.skype.com/rps/skypetoken, as I was having trouble with some requests without it set correctly in the client (I was testing with a migrated skype).