Because Social Q&A is a web-based platform, you can easily embed our application in another website.
1. Find the exact page in your Social Q&A site that you want to embed, and copy the URL.
2. Add an HTML iframe to your website's HTML
Here's a simple example.
<iframe src="https://socialqa.com/sessions/65271/#!/dashboard" style="width: 100%; max-width: 400px; height: 600px;"> </iframe>
There are two things to note in this example. First, you just need to replace our URL with whatever URL you would like to embed. Second, we've added inline styling to size the iframe exactly how we want it. Without this style code, your browser assigns defaults that might not be friendly to the display of the embedded page.
Note that you may want to adjust the height attribute in the inline styling.
3. Test your webpage
If everything looks good, you're done.
Useful notes about Social Q&A and iframes
- Because our cloud application runs exclusively on HTTPS, iframe embeds will work on HTTPS domains.
- When testing, remember that your status carries over to the iframe. If you're signed in as an administrator or moderator in the same browser, that status will be inherited by the iframe. So you might want to test in a new browser.