We are running a campaign and would like to switch the text and image each time the tweet goes out on our website page. There are 6 campaigns with text and a photo that we like switch out based on the parameters given. I found a snippet but not sure how this should be written with time added to the code. Can we run the campaign from today's date through ending date (the first one)? Any guidance would be great. Thank you.
I have the code set up in CodePen
`https://codepen.io/jenfloods/pen/xxLJeRe`