Open morganastra opened 8 years ago
sites to test:
I could probably implement this. I'll take a crack at it later.
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.
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)
I really can't figure out how to make the twitter one work lol. Why is twitter so bad???
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.
This is an example of what it looks like when you post a pronoun.is link on facebook right now:
It would be better if that preview showed the actual pronouns being linked to and perhaps the example sentences.