开发者

cookies required in FBConnect in android?

In My FBLoginActivity t开发者_Go百科here is a error message "cookies required" with yellow background has shown. how to remove it or how can i rectify it?


Try

 WebSettings settings = webView.getSettings();
            settings.setJavaScriptEnabled(true);
            settings.setSaveFormData(false);
            settings.setSavePassword(false);
            CookieManager cookieManager = CookieManager.getInstance()
            CookieSyncManager.getInstance().sync();
            cookieManager.setAcceptCookie(true);

put breakpoints and see if you have cookies

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜