FB Comments inside an Qwebview not working why???
-
Face Book fb:Comments inside an Qwebview not working why???
-
You will really have to be clearer on what you are doing, what is happening, and what you were expecting to happen instead. Just calling out "not working why???" isn't going to get you anywere. We cannot guess what you are doing, and you are not showing us any code.
Also, this topic is very close to your last FB topic. I'll merge them if they move any closer.
-
ok, i explain my question further,
I put following code :
@
ui->webView->setHtml("<div id="fb-root"></div>[removed][removed]<fb:comments href="example.com" num_posts="2" width="500"></fb:comments>");
@
1-Where webview is the id of QWebView:
2-I put Qwebview on my .UI page:above code is rendering facebook comments box fine but its clicking events not running/working. second when i put same code on html page , open it through mobile's browser it works fine.so my question is why Qwebview is not working?
-
The HTML above looks incomplete, so I am not suprised it doesn't work properly...
-
Sorry Andre ,I put this code:
please ignore sscript> that is script, becuase when i put script it replace my code with [remove][remove]:@
ui->webView->setHtml("<div id="fb-root"></div><sscript src="http://connect.facebook.net/en_US/all.js#xfbml=1"></sscript><fb:comments href="example.com" num_posts="2" width="500"></fb:comments>");
@and its working fine on html page when running on web browser.
html:
@
<div id="fb-root"></div><sscript src="http://connect.facebook.net/en_US/all.js#xfbml=1"></sscript>
<fb:comments href="example.com" num_posts="2" width="500"></fb:comments>
@