diff --git a/website/docs/web.md b/website/docs/web.md index 087b5bc2..4b974e2a 100644 --- a/website/docs/web.md +++ b/website/docs/web.md @@ -18,10 +18,10 @@ import 'package:flutter_facebook_auth/flutter_facebook_auth.dart'; . . . -void main() async { +Future main() async { // check if is running on Web if (kIsWeb) { - // initialiaze the facebook javascript SDK + // initialize the facebook javascript SDK await FacebookAuth.i.webAndDesktopInitialize( appId: "YOUR_FACEBOOK_APP_ID", cookie: true, @@ -34,4 +34,4 @@ void main() async { ``` -> On Web if the facebook SDK was not initialized by missing configuration or content blockers all methods of this plugin will return null or a fail status depending of the method. You can check if the SDK was initialized using ` FacebookAuth.i.isWebSdkInitialized`. \ No newline at end of file +> On Web if the facebook SDK was not initialized by missing configuration or content blockers all methods of this plugin will return null or a fail status depending of the method. You can check if the SDK was initialized using ` FacebookAuth.i.isWebSdkInitialized`.