gave92 / fbchat-sharp

Facebook Messenger client library for C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[QUESTION] How to login using session?

jmbits opened this issue · comments

SOLVED.
Using getsession() to save it and then setsession() when needed.
Amazing library! Any way to donate to keep this project alive?

Yes, either you use getsession() and setsession() or you can override the 3 methods of MessengerClient class DeleteCookiesAsync, ReadCookiesFromDiskAsync, WriteCookiesToDiskAsync. See here for an example of saving session cookies using SharpSerializer.

I don't mind getting donations xD. You can do it here.