Unable to share Content on Facebook through Android App
<p>I have an android app in which i am using Facebook Android SDK to post content from my application to Facebook Wall. My code was working perfectly till i updated the Facebook app on my phone. Since that time, whenever i try to post content on Facebook, i get the login screen with the "Loading" option and after a few seconds, nothing happens. Here is the code which i am using</p>

<p>On Facebook Button CLick</p>

<pre><code>if(isOnline())
        {
        mFacebook = new Facebook("APP ID");


        mFacebook.authorize(this,new String[] {"publish_stream", "read_stream", "offline_access"}, new AuthorizeListener());

        }
</code></pre>

<p>The Code for Authorize listener is</p>

<pre><code>class AuthorizeListener implements DialogListener {


 public void onComplete(Bundle values) {

       //  Handle a successful login
    postOnWall("My wall text");


      }

    @Override
    public void onCancel() {



    }

    @Override
    public void onError(DialogError e) {




    }

    @Override
    public void onFacebookError(FacebookError e) {



    }
    }
</code></pre>

<p>After debugging i found that the OnComplete method is not being called after calling the authorize function and there is also no exception. This was working perfectly till i update the Facebook app on my Android phone.</p>

<p>Any help will be appreciated</p>
