title: Getting the DISQUS Comments number from dynamic pages and populate MySQL
body: <p>DISQUS commenting system is nice. API is confusing me a bit, so if anyone can please guide me to the right directions.</p>
  
  <p>What I want to do is to get the total number of comments from dynamic pages/posts and insert that number to a MySQL table so I can filter the posts of those pages according to the total comments number and display each post's comment number in the forontapage, sidebars etc. Of course, I would like to update those rows later with a function I'll create when new comments pop up. But what I am asking is just the way I can get them.</p>
  
  <p>Below my disqus_indentifier:             </p>
  
  <p><code>var disqus_identifier = &lt;?php echo $post_id ?&gt;;</code></p>
  
  <p>Thanks!</p>