I want to make a plugin to post a page title + link on twitter when I give a TV the value "Post to twitter" (or whatever I want). I know how to get the call to twitter itself (just use a ready to use php lib to communicate with twitter)
But how could I set up the modx part? think it is the best to check for this when saving the page, so I have to use a trigger event, but I don’t know which one. Then after that I have to change the value of the TV to "Already posted to twitter". How can I do this?
Can somebody help me with this? I will post the result of this twitter plugin to the community when it is finished!
with regards,
Ronald Lokers
'Front-end developer' @
h2o Media