Defining Trust By An External API?


(Michael Ball) #1

Hello,

We’re working on setting up an discourse forum for a social networking type site. We would like to be able to define (or at least add as a parameter) Trust levels based on external data, like “Number of Projects Shared” through our site.

Assuming we have an API to get the data we want, is there any way to accomplish this?

If not, would a plugin have the capability to do this? I only briefly explored this option, and I couldn’t find a definite answer.

Thanks!


(Jay Pfaffman) #2

You could do it either with a plugin or, say a cron job and a script that talks to the API.


(Sam Saffron) #3

To define trust externally make it so automatic promotions are impossible (eg: need too many likes or posts etc…)

Then use the API to configure trust levels for your users as you see fit.


(Michael Ball) #4

Thanks for the tip about automatic promotions!

A cron job makes a lot of sense. I think I’ll take that approach!