c# - FB Comments Implementation in Windows Phone 8.1 -
i trying implement fb comments in windows phone. tried using web view below
<webview x:name="fbcommentstest"></webview>
code behind c#
fbcommentstest.navigatetostring("<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=\"" + mexternalurl + "\" data-width=\"500\"></div> </body></html>");
but didn't desired output. web view displays empty page. please guide achieve this
Comments
Post a Comment