calico-crusade / WolfLive.Api

And API for connecting to and creating bots for wolf.live in C#
MIT License
6 stars 1 forks source link

OAuth Support #4

Open dandanahmed opened 3 years ago

dandanahmed commented 3 years ago

Good day,

First of all, I would like to thank you for your splendid job. I am writing to you to check if you have implemented OAuth to enable login with Twitter of Facebook instead.

Thanks

calico-crusade commented 3 years ago

I have not implemented OAuth support, however, you can use token logins to use an account from Twitter or Facebook. If you get the token from your browser, and don't log out from that account, you can pass that token into the constructor for the WolfClient class and it will use that token to login.

var token = "WExxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; //Get this from your browser.
var client = new WolfClient(token: token);

I don't believe I will have time to look into OAuth support at the moment, and the token logins work for now. If you feel like looking into it, I'll gladly accept a PR for the functionality.

dandanahmed commented 3 years ago

Thanks for the clarification. I did not know that the login with token is already in there. I will check it out and again thanks for your great work and for swift reply.

dandanahmed commented 3 years ago

pls I need your contact email address or whatsapp if you are using for business. thx

calico-crusade commented 3 years ago

@dandanahmed You can either find me on discord: Cardboard#0026 or via email: holycardboardquest@gmail.com I'm curious, what do you need my email for?