title: ShareActionProvider doesn't share text from Intent with Facebook
body: <p>I'm using a ShareActionProvider(android.widget.ShareActionProvider) to share simple text.
  It works fine with Gmail, WhatsApp etc but not with Facebook...</p>
  
  <p>It doesn't share the text attached to the Intent, instead it just ask the user to write a new post.</p>
  
  <p>How to solve this?</p>
  
  <p>Here is my code:</p>
  
  <p>XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
  &gt;
  &lt;item android:id="@+id/action_share"
      android:title="@string/action_share"
      android:showAsAction="always"
      android:actionProviderClass="android.widget.ShareActionProvider" /&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>Java:</p>
  
  <pre><code>@Override
      public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
          // Inflate the menu; this adds items to the action bar if it is present.
          inflater.inflate(R.menu.detailfragment, menu);
  
          // Retrieve the share menu item
          MenuItem share = menu.findItem(R.id.action_share);
          // Get the provider and hold onto it to set/change the share intent.
          mShareActionProvider = (ShareActionProvider) share.getActionProvider();
  
          // Attach an intent to this ShareActionProvider.  You can update this at any time,
          // like when the user selects a new piece of data they might like to share.
          if (mShareActionProvider != null &amp;&amp; mForecastStr != null ) {
              mShareActionProvider.setShareIntent(createShareIntent());
              Log.v(LOG_TAG, "mForecast: " + mForecastStr);
              Log.v(LOG_TAG, "Intent: " + mShareActionProvider);
          } else {
              Log.d(LOG_TAG, "Share Action Provider is null?");
          }
      }
  
  
      public Intent createShareIntent() {
          Intent shareIntent = new Intent(Intent.ACTION_SEND);
          shareIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
          shareIntent.setType("text/plain");
          shareIntent.putExtra(Intent.EXTRA_TEXT, mForecastStr);
  
          return shareIntent;
      }
  </code></pre>
  
  <p>Thanks!!</p>