title: How to share post in facebook by using Xamarin Forms
body: <p>I'm currently working on Xamarin and I'm confused with the facebook sharing option in xamarin forms particularly in Xamarin Android the IOS code is </p>
  
  <p>public void ShareOnFacebook(IFacebookDelegate pDele)
          {</p>
  
  <pre><code>        string[] perm = {"publish_actions"};
          if (AccessToken.CurrentAccessToken == null || !AccessToken.CurrentAccessToken.HasGranted("publish_actions"))
          {
              UIViewController mainController = UIApplication.SharedApplication.KeyWindow.RootViewController;
              _manager.LogInWithPublishPermissions(perm, mainController, (result, error) =&gt;
              {
                  if (error != null || result.IsCancelled)
                  {
                  }
                  else {
                      ShareNow();
                  }
              });
          } else {
              ShareNow();
          }
  
      }
  </code></pre>
  
  <p>The only thing which stops me is Xamarin Android facebook post sharing.
  Can anyone modify this code according to Xamarin Android Or share his/her own code .</p>