witch-house / pronoun.is

Show people how to use pronouns!
http://pronoun.is
GNU Affero General Public License v3.0
929 stars 103 forks source link

Make the preview card that shows up on social media sites include example sentences #56

Open morganastra opened 8 years ago

morganastra commented 8 years ago

This is an example of what it looks like when you post a pronoun.is link on facebook right now:

xmonad-2016-08-10-00 51 55-493x204

It would be better if that preview showed the actual pronouns being linked to and perhaps the example sentences.

morganastra commented 8 years ago

sites to test:

ioistired commented 7 years ago

I could probably implement this. I'll take a crack at it later.

morganastra commented 7 years ago

so this is what it looks like right now on facebook, which is okay but honestly the sentence before the actual examples is not important enough to get included there.

xmonad-2017-03-09-00 37 50-492x68

twitter's preview card validator seems not to work for sites hosted on ports other than 80, so i have no way to test it before deploying to prod :/

(of course, the worst case scenario is that the generated preview is ugly)

morganastra commented 5 years ago

I really can't figure out how to make the twitter one work lol. Why is twitter so bad???

ioistired commented 5 years ago

If the issue with using port 443 is about getting TLS certs, you can use https://ngrok.com/ to get a free reverse proxy with TLS, https://sslip.io/, or https://xip.io. For the latter two just put the IP of your staging server before the domain and use Caddy or some other LetsEncrypt client to get a TLS cert for that subdomain. E.g. you'd use CertBot to get a TLS cert for your.ip.here.sslip.io and then put that domain + "https://" into twitter's validator.