使用 Facebook Sdk 集成评论功能?

Integrate Comment Feature using Facebook Sdk?

我能够在应用程序中集成评论功能,但是当我单击登录按钮时,它不起作用 out.I 我正在使用 WebView 显示评论。为什么我在登录中的 Click 事件不起作用??

想达到

Click on Login is not Working.List of Comment are Displayed

Rate_And_Review

   public static String BASE_DOMAIN = "http://www.facebook.com";
    public static String PATH_URL = "/patanheritage.walk.16";
    String APP_KEY = "175417393005037";
        webViewComment = (WebView) findViewById(R.id.webView_Comment);
        webViewComment.getSettings().setJavaScriptEnabled(true);
        webViewComment.getSettings().setDomStorageEnabled(true);
        webViewComment.loadDataWithBaseURL(BASE_DOMAIN,
                "<html><head></head><body><div id=\"fb-root\"></div><div id=\"fb-root\"></div><script>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = \"http://connect.facebook.net/en_US/all.js#xfbml=1&appId=" + APP_KEY + "\";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));</script><div class=\"fb-comments\" data-href=\""
                        + BASE_DOMAIN + PATH_URL + "\" data-width=\"470\"></div> </body></html>", "text/html", null, null);
        webViewComment.setWebViewClient(new WebViewClientActivity());

class WebViewClientActivity extends WebViewClient {
    @Override
    public void onPageStarted(WebView view, String url, Bitmap favicon) {
        System.out.println("onPageStarted: " + url);

    }

    @Override
    public boolean shouldOverrideUrlLoading(WebView view, String url) {

        return true;
    }

    @Override
    public void onPageFinished(WebView webView, String url) {
        System.out.println("onPageFinished: " + url);

    }
}

Why the Click to Login is not Working?How can this be Achieved.

您可能缺少此功能试试这个它会工作正常

@Override
   public boolean shouldOverrideUrlLoading(WebView view, String url) {
       view.loadUrl(url);
       return true;
   }