From 55dcf2a1590d9c678bd12a7f31d644420b3b3f29 Mon Sep 17 00:00:00 2001 From: Vini Dalvino Date: Fri, 7 Aug 2020 23:05:49 -0400 Subject: [PATCH] Updated example --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cd1ddc2..3fe0e99 100644 --- a/README.md +++ b/README.md @@ -112,9 +112,8 @@ using System.Threading.Tasks; using fbchat_sharp.API; ... // Instantiate FBClient -FBClient client = new FBClient(); -// Login with username and password -var session = await client.DoLogin(email, password); +Client FbClient = new Client(); +var FacebookSession = await FbClient.login(email, password); // Check login was successful if (session != null)