Thoughts or ideas?
Thanks!
I'm experimenting with using the disqus_callback() method. Right now
I can use that to attach a click event to the dsq-post-button. I can
update a local post count when that happens, but i'm sure it will get
out of sync if posts don't go through or if they aren't submitted
successfully. For instance, if they are blank.
My issue is that i want to have a page that lists all my threads with
their post count. But i also want to weight them and order them based
on the number of comments. So I could query disqus every time this
page is loaded or i could simply update the post count when a comment
is submitted.
I'm thinking something as simple as:
disqus_new_comment_posted_callback(thread_id);
Ideally I'd like a way to pass you some kind of identifier so that i
don't have to query disqus again to figure out what url (and therefor
which local object) the thread_id maps to. Basically it would be
great disqus picked up a variable when constructing the POST request
that I could use to map it to a local db record.
disqus_new_comment_posted_callback(thread_id, object_id) //object_id
is something i pass to you and you pass back to me.
Those are my initial thoughts.
Mike