روابط مدمجة على Discourse لا تظهر عند مشاركتها على Discord

Embedded Links of my Discourse not showing up when links shared on discord


can anyone point me in the right path?

Maybe for the same reason why it doesn’t work here?

https://forum.hhf.technology/t/enhanced-unraid-zfs-error-notification-script-with-discord-integration-or-without/401


Seems the request is blocked by your forum. Maybe the steps for troubleshooting oneboxes help you

إعجاب واحد (1)

thanks @Moin. let me check my csp policy

this CSP configuration was missing to allow embedding

  1. frame-ancestors 'self' https: * - Allows your content to be embedded in iframes on any HTTPS site
  2. frame-src 'self' https: * - Allows your site to embed content from any HTTPS source
  3. embed-src 'self' https: * - Allows embedded content from any HTTPS source
  4. child-src 'self' https: * - Fallback for frame-src in older browsers

If this is correct

test
https://forum.hhf.technology/t/enhanced-unraid-zfs-error-notification-script-with-discord-integration-or-without/401

still not working

Looks like you have some check running which is blocking system/bot access?

That’s probably blocking access to the code that’s preparing the onebox.

إعجاب واحد (1)

CF Waf would that be the cause?

Maybe you can permit Discourse and Discord user agents amongst other popular options?

Looks like your rules are working ! :wink:

You will need to open them up for this to work I believe.

There are probably well trodden standard rules people use for Discourse instances and Discord to permit their previews.

There’s a Cloudfare Discourse. Perhaps ask there?

https://community.cloudflare.com/

إعجاب واحد (1)

before going there do we have to put anything here

this is nothing to do with your Discourse instance’s settings.

you are blocking other systems seeing your content with your CF setup.

4 إعجابات

thanks for your input. will get back if i can solve it. I had your plugin but sadly couldn’t utilize it.

إعجاب واحد (1)

Oh let me know on the plugin topic if you have any issues that I can help with :slight_smile:

sure. once i solve this issue i will take a shot at you your plugin. it looks cool. thanks, by the way
@Moin thank you buddy.

See you guys around

إعجاب واحد (1)

one request: if you do get a good answer from the CF community, perhaps you could link it here?

إعجابَين (2)

Sure i will. Some can benefit from

إعجاب واحد (1)

Hurray!!! @merefield @Moin

إعجاب واحد (1)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.