simonsarris / Twitter-Bugs

Bug reports for twitter dot com
20 stars 0 forks source link

oEmbed not working in frames #13

Open SiarheiSm opened 2 years ago

SiarheiSm commented 2 years ago

there is iframe example in documentation: https://developer.twitter.com/en/docs/twitter-for-websites/embedded-tweets/guides/cms-best-practices

<figure class="op-social">
<iframe>
<blockquote class="twitter-tweet">
<p lang="en" dir="ltr">Mama knows best! Mother bear teaches cub how to dig for clams <a href="https://twitter.com/LakeClarkNPS">@LakeClarkNPS</a> by Sally Jewell <a href="https://twitter.com/hashtag/Alaska?src=hash">#Alaska</a> <a href="https://twitter.com/hashtag/nature?src=hash">#nature</a> <a href="http://t.co/1n3vYDJcAW">pic.twitter.com/1n3vYDJcAW</a></p>
— US Dept of Interior (@Interior) <a href="https://twitter.com/Interior/status/611193269532295168">June 17, 2015</a>
</blockquote>
<script async
  src="https://platform.twitter.com/widgets.js">
</script>
</iframe>
<figure>

but it just displays empty frame

fluxusfrequency commented 2 years ago

Hi there, Thanks for creating this repo! We wanted to make sure you were aware of our Developer Forum. That's where we usually triage issues!

Ben Lewis Embeds Team Twitter