Closed mwernimont closed 8 years ago
Cool Marty, rather than copy and pasting this a bunch of times, I think you could do a twitter.mustache that you can pull into the rendered html.
Also, we probably want to template in the text via the full_text.xml (so we could have a spanish tweet).
@jiwalker-usgs Got time to walk me through that? Not too sure how I would wrap the image in a mustache include
I'll swing by during our lunch break and talk through it.
Should fix the issue you had before @jiwalker-usgs
@jiwalker-usgs used the twitter api to help me create a url that allows us to generate a generic tweet for people that hit the twitter button on our app. The user can edit the tweet on the twitter page, and we can change the generic tweet, hashtags, and url as we see fit.
Just thought this was easier than adding more js or another library to our app for tweet sharing.
Thoughts?