cordova - facebook comments are not shown its whole list in phone gap -
i'm trying put facebook comments phonegap app on ios using facebook cordova sdk. i've included facebook_js_sdk.js , cdv-plugin-fb-connect.js. also, added below code right after start of body tag.
<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 = "//connect.facebook.net/ko_kr/all.js#xfbml=1&appid=my_app_id"; fjs.parentnode.insertbefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
and put below code displayed
<div class="fb-comments" data-href="http://example.com" data-width="470" data-num-posts="10"></div>
however, facebook comments plugin shows comment , half(it isn't loaded) when run app.
try add css:
.fb_ltr { min-height:100%; !important; }
or
.fb_ltr { min-height:300px; !important; }
the first works me eventhoug % height shouldent.
Comments
Post a Comment