Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Twitter/X Embed Block Not Working. #96010

Open paxblueribbon opened 1 week ago

paxblueribbon commented 1 week ago

Quick summary

On some sites Twitter/X embeds don't work, when adding a new one I get "Sorry, this content could not be embedded."

Steps to reproduce

  1. Add a new Twitter block in Gutenberg.
  2. Paste the URL into the box.
  3. Click Embed

What you expected to happen

Site displays the tweet.

What actually happened

"Sorry, this content could not be embedded."

Impact

Some (< 50%)

Available workarounds?

Yes, difficult to implement

If the above answer is "Yes...", outline the workaround.

However this is only a partial workaround, as it doesn't fix previously posted Twitter/X embeds.

Platform (Simple and/or Atomic)

Atomic

Logs or notes

zd-8986491

mauropereiira commented 1 week ago

Another case here: zd-8960105

lizswafford commented 1 week ago

8945481-zen

khristiansnyder commented 1 week ago

User wants updates on when this is working again: #8990777-zd-a8c

github-actions[bot] commented 1 week ago

Support References

This comment is automatically generated. Please do not edit it.

aisajib commented 1 week ago

This was reported here as well: 8985064-zd-a8c

Quoting a relevant portion from the user's message:

i have to try several times to embed it and it seems working but after publish it, only a link appears

elcristofue commented 1 week ago

This issue has also been reported here: 8989953-zd

inaikem commented 1 week ago

This thread is being discussed in slack-C07RS1SCKBK

ricklabsdotn8 commented 1 week ago

8997955-zd

ricklabsdotn8 commented 1 week ago

Workaround for Atomic sites would be using the manual embed feature from X: Image

Alternatively, going to https://publish.twitter.com/#

TeniCola commented 6 days ago

This has also been reported in 9006510-zd -- however, the user has a simple site, so the atomic workaround did not work as intended on the live site (only displays embed in editor view).

rosepajaroja commented 5 days ago

Another report here: 9009327-zen

tanjoymor commented 4 days ago

Another report here: 9017138-zd-a8c

The embed displays in the editor but converts to a link only on the live post.

Simple site.

aisajib commented 1 day ago

A user reported this on X here. -- 9021072-zd-a8c