In the past we carried a “simple” twitter embedder that relied on certain magic to generate the onebox. This had way too many edge cases and resulted in very uneven results, often breaking.
If any self hosters would like twitter embeds going forward, please follow:
All people hosted by CDCK use the CDCK accounts so they do not need to worry about configuring this.
But as I said, some time ago the function worked perfectly. Link in. Preview out.
I don’t want to associate a Twitter account with my instance. Nor do I want to blindly nod off a developer contract and commit to Twitter for whatever. And I certainly don’t want to use Twitter as a login.
Can you please confirm that you set both twitter consumer key and twitter consumer secret site settings and then tried to rebuild the HTML (post menu → Rebuild HTML button)?
Sorry for the frustration, but trust me I tried my best in finding a workaround. The problem is that Twitter no longer gives the information in a meaningful way for us to parse and display it. We found workarounds to get most of the information (eg. username, message, number of retweets, etc), but we could not find one for the quoted tweet, which is an important part of the tweet.
I just tested again with my Twitter keys and I confirm again that it works. All I did was to set the two site settings and rebuild the HTML. Then, the URL was rendered as a onebox.
Can you please rebuild Twitter API keys and try again? Make sure you do not mix the key and the secret.
I had this problem myself after trying to set this up today, and I happened to find this topic initially after searching and did not immediately see it mentioned in this topic yet; After searching other posts, for me, it had to do what the below linked posts say (use the elevated plan instead of the default essential plan), despite the wording on the Twitter site about reviewing your application, mine was approved instantly, and it worked fine immediately after.