-
Notifications
You must be signed in to change notification settings - Fork 46
Props
Chris Tang edited this page Oct 11, 2022
·
2 revisions
Prop | Children | Description |
---|---|---|
shortname | The unique identifier for your website as registered on Disqus | |
config | An object containing additional parameters specific to the current page | |
url | A unique URL for each page where Disqus is present | |
identifier | A unique identifier for each page where Disqus is present | |
title | A unique title for each page where Disqus is present | |
categoryID | An ID for the category that will to be associated with the current page | |
language | A parameter for dynamically specifying the language for multilingual websites | |
sso | An object that can be used to activate the SSO functionality (see below) |
Prop | Children | Description |
---|---|---|
sso | An object that can be used to activate the SSO functionality of the Embed. | |
name | Your site's name. We will display it in the Post As window. | |
button | Address of the image that acts as a button. | |
icon | Address of the image that appears on the login modal's SSO tab. | |
url | Address of your login page. The page will be opened in a new window and it | |
must close itself after authentication is done. That's how we know when it is | ||
done and reload the page. | ||
logout | Address of your logout page. This page must redirect user back to the original | |
page after logout. | ||
profile_url | A link to the user's profile that exists on the site's own domain. This is | |
only used if the SSO integration is linking out to user profiles that exist on | ||
the site's own domain, rather than the Disqus profile. | ||
width | Width of the login popup window. Default is 800. | |
height | Length of the login popup window. Default is 800. |
Prop | Children | Description |
---|---|---|
shortname | The unique identifier for your website as registered on Disqus | |
config | An object containing additional parameters specific to the current page | |
url | A unique URL for each page where Disqus is present | |
identifier | A unique identifier for each page where Disqus is present | |
title | A unique title for each page where Disqus is present |
Prop | Description |
---|---|
commentId | The unique identifier for the embedded Disqus comment |
showParentComment | Specify whether the parent-comment will be displayed |
showMedia | Specify whether media will be included in the embedded comment |
width | Specify the width of the embedded comment container |
height | Specify the height of the embedded comment container |