Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local Facebook posts are not rendered #1

Open
mpetrovich opened this issue Dec 30, 2015 · 0 comments
Open

Local Facebook posts are not rendered #1

mpetrovich opened this issue Dec 30, 2015 · 0 comments
Labels

Comments

@mpetrovich
Copy link
Member

mpetrovich commented Dec 30, 2015

Imagely doesn't render Facebook posts (example) when they are embedded in a local HTML file. This is likely due to the fact that the SDK doesn't correctly load when referenced from a local HTML file vs. an actual webserver.

Reduced test case: Imagely fails to render the following HTML. The HTML itself renders correctly on a webserver but no when viewed locally.

<html>
<body>
    <!-- Source: https://developers.facebook.com/docs/plugins/embedded-posts -->
    <script src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v2.5" async></script>
    <div
        class="fb-post"
        data-href="https://www.facebook.com/20531316728/posts/10154009990506729/"
        data-width="500"
    ></div>
</body>
</html>
@mpetrovich mpetrovich added the bug label Dec 30, 2015
@mpetrovich mpetrovich changed the title Facebook posts are not rendered Local Facebook posts are not rendered Aug 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant