title: FacebookSDK-4.4.1 share local picture without the app install and public_actions permission
body: <p>I want to share a local picture to the facebook,my facebook sdk is 4.4.1.below is my code:</p>
  
  <pre><code> private void shareContentToFacebook(){
      SharePhoto sharePhoto = new SharePhoto.Builder()
              .setBitmap(mBitmap)
              .build();
      ArrayList&lt;SharePhoto&gt; photos = new ArrayList&lt;&gt;();
      photos.add(sharePhoto);
  
      SharePhotoContent sharePhotoContent =
              new SharePhotoContent.Builder().setPhotos(photos)
              .build();
  
      if (mShareDialog.canShow(SharePhotoContent.class)) {
          mShareDialog.show(sharePhotoContent);
      } else if (hasPublishPermission()){
          ShareApi.share(sharePhotoContent, null);
      } else {
          LoginManager.getInstance().logInWithPublishPermissions(PhotoPreviewFragment.this,
              Arrays.asList("publish_actions"));
      }
  
  }
  </code></pre>
  
  <p>if i have install the facebook app,it works well with</p>
  
  <pre><code>mShareDialog.show(sharePhotoContent);
  </code></pre>
  
  <p>if not,it will come to login code:</p>
  
  <pre><code>LoginManager.getInstance().logInWithPublishPermissions(PhotoPreviewFragment.this,
              Arrays.asList("publish_actions"));
  </code></pre>
  
  <p>when login success,i will transfer the method shareContentToFacebook again：</p>
  
  <pre><code> LoginManager.getInstance().registerCallback(mCallbackManager, new FacebookCallback&lt;LoginResult&gt;() {
          @Override
          public void onSuccess(LoginResult loginResult) {
              shareContentToFacebook();
              Log.d("XXX", "LoginSuccess!");
          }
  
          @Override
          public void onCancel() {
              AccessToken.setCurrentAccessToken(null);
              Log.d("XXX", "onCancel!");
          }
  
          @Override
          public void onError(FacebookException e) {
              AccessToken.setCurrentAccessToken(null);
              Log.d("XXX","facebook error:"+e.getMessage());
          }
      });
  </code></pre>
  
  <p>but i cannot get the permission public_actions,so i cannot go inside</p>
  
  <pre><code>ShareApi.share(sharePhotoContent, null);
  </code></pre>
  
  <p>do you have any solutions to share a photo without facebook app install and public_actions?</p>