הטמעה מקומית בטוויטר

Yes, I do blocked Twitter.com and x.com
But the native embed tweet is not showing. Instead the discourse embed tweet is showing without picture and video.

The plugin works on my old site with 3.2.0 but not new site with 3.3.0

After I edited the post itself. it works. interesting.

2 לייקים

לאחר עדכון Discourse, נראה שהרכיב הזה שוב שבור.

מישהו חווה זאת ומצא פתרון זמני?

יש לי גם את אותה הבעיה. רכיב זה אינו פועל בגרסת ה-discourse שלי 3.5.0.beta9-dev. מישהו יכול לעזור?

בוא לכאן לומר את אותו הדבר. רכיב זה פגום.

This theme component still works on my absolutely latest forum.

It’s not broken. Maybe we can check if there’s a configuration error?

2 לייקים

עדיין עובד מצוין גם ב-Discourse שלי (גם הוא עם הגרסה האחרונה).

רץ得很好,在最新的 discourse 上也一樣

פיצלתי את ה-repo, והצלחתי לגרום לו לעבוד בערך (הוא פרסם את אותו ציוץ בערך 8 פעמים), אבל חזרתי לרכיב שלך. בכל מקרה, עדיין לא מצליח לגרום לזה לעבוד.

רכיב זה עובד היטב בפורום הישן שלי בגרסה 3.4.6. אותה תצורה בדיוק. אבל הוא לא עובד בגרסה 3.5.0.beta9-dev

I’ve just updated to 3.5.0.beta9-dev and it still seems to be working here. Not much help I know, but I don’t think Discourse is the problem.

Twitter previews were working without this solution for us at least up to a couple of weeks ago. Not really sure if the break was tied to the new version or not. Is this still the accepted way of ensuring previews of twitter links are working?

I tried installing the plugin and configuring it as instructed but ran into a roadblock.

When I tried to add https://platform.twitter.com to the content security policy script src setting, I get the following error:

An error occurred: content_security_policy_script_src: Value must be either 'unsafe-eval' or 'wasm-unsafe-eval', or in the form '-' where supported hash algorithms are sha256, sha384 or sha512. Ensure that your input is wrapped in single quotation marks.

Hi All… just checking to see if this has been resolved or figured out yet?

Currently running 3.5.2 and if you use x.com it does not work, but if you change it to twitter.com it works!

setting “Block onebox on redirect” fixed it for me