Fantastic! Twitter removing the opengraph tags was so weird!
Fixed via:
https://github.com/discourse/onebox/commit/ea8a19bf24ddc0400a521596955f902681729eff
Tested locally and the Twitter onebox looks okay.
I’ve setup Twitter oath logins and rich embeds and the Twitter Onebox is still not working for me. I’m on the latest version of Discourse (2.6.0.beta1) and plugins (cakeday, whos-online, retort, spoiler_alert).
For example, this tweet URL is not previewing. And it appears it’s not working on the meta site as well.
https://twitter.com/JWPSports/status/1277254012132298752?s=20
Is there something else I need to setup? Do I need to manually update Onebox or is that already in the current release as it appeared to have been merged a couple of weeks ago?
Any guidance would be appreciate!
@techAPJ Sorry, I forgot to reply to your post to ensure you were notified. Is there confirmation from the team that Onebox is still broken for Twitter URLs or is it something with my configuration?
Arpit is getting married at the moment so he is a bit busy
We are looking at this and will reply soon.
Congratulations Arpit. Ty Jeff for the update!
Meta has been blocked by Twitter for generating too many requests. Try contacting Twitter support?
Twitter Onebox’ing is working now on our site (without any updates to the software). Quick check if it’s working here on meta.
Boom! Fixed!
Here are the commands to rebake the old twitter posts if you want:
cd /var/discourse
./launcher enter app
rake posts:rebake_match["twitter"]