Java Android Facebook登录和网络视图

Java Android Facebook登录和网络视图,java,android,kotlin,Java,Android,Kotlin,我正在使用Facebook登录sdk并实现Facebook登录按钮现在我想在自定义Web视图中使用此登录会话,并想在Web视图中运行Facebook。我怎样才能做到这一点?我们可以通过以下方式做到: webView.loadUrl("https://m.facebook.com/"); 其中webView是某些片段中的webView: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

我正在使用Facebook登录sdk并实现Facebook登录按钮现在我想在自定义Web视图中使用此登录会话,并想在Web视图中运行Facebook。我怎样才能做到这一点?

我们可以通过以下方式做到:

     webView.loadUrl("https://m.facebook.com/");
其中webView是某些片段中的webView:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
tools:context="com.itsoft.am.worldpeople.web.WebSourceView">

<WebView
    android:id="@+id/web_source_view"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" />

 </LinearLayout>


祝你好运)

我想获得登录会话/cookie!!