I have an Android application that uses Facebook authentication, so I know users access token. In the Android application I have a screen with a WebView that loads a page from the server with Facebook Comment box.
The server page (loaded in webView):
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.fb_ltr{height:100% !important; overflow-y: scroll;}
#u_0_1{position:absolute !important;}
</style>
</head>
<body>
<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/he_IL/all.js#xfbml=1&appId=MY_APP_ID";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-comments" data-href="MY_URL" data-width="470" data-num-posts="10"></div>
</body>
</html>
When I open that screen with the WebView, I need to login again into FaceBook.
Is there any way to pass the access token (or other parameter) with the WebView?
Note: I can also change the HTML if it's imposible with WebView