# Embed Discourse comments on another website via Javascript

**URL:** https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963
**Category:** Integrations
**Tags:** embedding, how-to
**Created:** [August 10, 2015, 6:20pm UTC](https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963 "2015-08-10T18:20:46Z")
**Posts on this page:** 1
**Showing post:** 491

<div class="post-metadata">

### Author: ![kiefferr](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@kiefferr](https://meta.discourse.org/u/kiefferr)
#### Post date: [June 2, 2026, 7:14pm UTC](https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963/491 "2026-06-02T19:14:05Z")

</div>

Maybe a daft question, but here’s what I see on a private only forum:

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/6/7/36729cebe063db3a1fbc12e49cadea87e821fbfe.png)

The 419 error:

**HTTP Error 419 (Page Expired)** is **a non-standard HTTP status code primarily used by the Laravel PHP framework to indicate that a Cross-Site Request Forgery (CSRF) token validation has failed or that your session has expired**

My WP instance is connected via [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) as the provider to this Discourse instance, but the domains are different. Can I assume that is the cause of this error?

> ### **Embedding comments from a private site**
> 
> For private Discourse instances, if Discourse is on a subdomain of the blog’s domain, comments will be displayed for users who are logged into Discourse. Users who are not logged into Discourse will see a ‘refused to connect’ message. **If Discourse and the blog are on completely separate domains, no comments will be displayed for private forums.**

---

_[View the full topic](https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963)._
