My random quote generator is still a work in progress, but I wanted to see if this was possible at all. I added a FB post button here, which will first prompt you to log in to facebook, and then post the quote to your wall. However, when running this via Codepen, I receive an error such as this:
Uncaught DOMException: Failed to set the 'domain' property on 'Document': Assignment is forbidden for sandboxed iframes.
After doing some googling, it doesn’t look like it’d be possible and I have been able to post on my own local host so it shouldn’t be the code itself. Is there a way from Codepen (or other sandboxed iframes) that this would be possible?