Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mood messages #66

Open
madisonsilver opened this issue Aug 15, 2017 · 6 comments
Open

Add mood messages #66

madisonsilver opened this issue Aug 15, 2017 · 6 comments

Comments

@madisonsilver
Copy link

There currently appears to be no feature that lets the program change mood messages. Would this be feasible to implement?

@ShyykoSerhiy
Copy link
Owner

It's possible to ad what's implemented in https://web.skype.com/ . It looks like it's not implemented in web version of Skype yet.

@madisonsilver
Copy link
Author

Would it be possible to replicate what https://github.com/OllieTerrance/SkPy does in some way?

@madisonsilver
Copy link
Author

It seems like it would be possible to change the mood by making a request to "https://api.skype.com/users/{user_id}/profile/partial" as shown in the setMood method of the SkPy code: https://github.com/OllieTerrance/SkPy/blob/master/skpy/main.py . Is there a way to get the user's id in skyweb?

@ShyykoSerhiy
Copy link
Owner

ShyykoSerhiy commented Sep 22, 2017

Sure. if you look at https://github.com/ShyykoSerhiy/skyweb/blob/master/src/demo/demo.ts#L12
skyweb.skypeAccount.selfInfo will contain your username. Smth like this:

{
  "username": "live:phantomzkype",
  "namespace": "live",
  "displayname": "skype skype",
  "firstname": "skype",
  "lastname": "skype"
}

username is user's id

@madisonsilver
Copy link
Author

So am I correct in assuming that implementing a setMood function would be possible?

@ShyykoSerhiy
Copy link
Owner

Yeah, I'll add it tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants