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)