devex icon indicating copy to clipboard operation
devex copied to clipboard

Twitter bot issue: event trigger for tweets

Open RachelMuston opened this issue 6 years ago • 2 comments

Twitter bot should only tweet "New Opportunity" On Publish.

Today a tweet was sent as a "New Opportunity" On UnPublish.

https://twitter.com/gcdevex/status/1001570888284884992

Suggest that if we want to tweet on UnPublish, the tweet should read "This opportunity has been Cancelled" Or something like that. Instead of "New Opportunity"

RachelMuston avatar May 29 '18 22:05 RachelMuston

For a future developer, the code for the automatic Tweets can be found in this function: https://github.com/canada-ca/devex/blob/master/modules/opportunities/server/controllers/opportunities.server.controller.js#L439

markwooff avatar May 29 '18 23:05 markwooff

We miss you @markwooff !

RachelMuston avatar May 29 '18 23:05 RachelMuston