Open GeoffFroh opened 2 years ago
Did you have in mind which links you'd want? I've chosen Facebook, Twitter, and email, but perhaps WhatsApp or some others might be nice? Unlike AddThis, this one doesn't have a link to get more sharing options. Also, I chose the small option with solid icons.
I have a hotfix branch that I can install on ddrstage.
Unfortunately it doesn't look this is working. Clicking on the Facebook link ends at a page with this message:
Your message couldn't be sent because it includes content that other people on Facebook have reported as abusive.
Maybe I did something wrong? Or maybe Zuck doesn't like it when people don't put his tracker link on pages...
I think it's because the actual urls to FB, etc. are the sharebuttons.io defaults. I.e., they are not parameterized to send people to our various accounts. There are also subject lines that will need to be defined; but that is something we need to coordinate with the SM team.
not parameterized to send people to our various accounts
Ach, makes sense, I'll look at it after the encyc-psms stuff.
FWIW, this is now installed on https://ddrstage.densho.org/. Links appear on collection, entity, and file detail pages.
I updated ddrstage.densho.org with new templates that insert object title and url into the FB/TW/mailto links
Replace AddThis SM sharing buttons with non-tracking alternative. Need to support FB, Twitter, email; can keep same general layout. Will require defining the text/subject-line to pass to each sharing endpoint.
See, for example: https://sharingbuttons.io/