Correzione errore onebox di Twitter-status

There is an error in the twitter onebox code if some meta tags are missing. Apparently the Twitter HTML changed at some point and Murphy’s law kicked in.

I opened a PR that fixes the error and uses meta tags that exist (for now anyways). So basic twitter oneboxes should work once again assuming you don’t get blocked.

5 Mi Piace

I haven’t posted a twitter link in awhile. But there was a theme component that fixed it at one time as well. After it was initially broken

Here is the effect

Yeah that twitter-component uses twitter’s javascript widget, while this restores the server-side method.

1 Mi Piace