Question

In my web application I would like to set the author of a Disqus thread manually, so he (the author) receive notifications when people leave comments.

Is that achievable with Disqus? How?

Was it helpful?

Solution

There are a couple of approaches to this.

1. Use the API to set the thread author

This endpoint is used to update a thread - you'll need the author's Disqus username and the Disqus unique thread ID:

http://disqus.com/api/docs/threads/update/

You can acquire the Disqus thread ID using a custom identifier or URL using this endpoint:

http://disqus.com/api/docs/threads/details/

2. Send the notification manually

We have an example available which shows you how to do this using our js callback and a PHP script:

https://github.com/disqus/DISQUS-API-Recipes/tree/master/notifications

OTHER TIPS

When you set your thread you should be able to define related information one of which is author. See the api here http://disqus.com/api/docs/threads/set/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top