Duplicate embedded Tweets

embeddedtweet
widgetsjs

#1

Hi! It looks like embedding multiple Tweets straight via the default embed code creates duplicates. You can witness this happening at a quick demo site we put together: http://demo.flockler.com/tweet.html

I suspect it has something to do with asynchronity in widgets.js, since it actually every now and then works correctly, and does not render duplicates. But most of the time it doesn’t work.


#2

Yes, must be this issue. We have the same on http://www.bz-berlin.de/ with embedded tweets in our asynchronously loaded live ticker.


#3

Same thing on my website, the embeded Tweets is du plicate twice.


#4

Same issue on our news website meduza.io

Help, twitter help.


#5

Same issue, If you remove the “async” in the script tag it works but I can’t change it in all my embedded Tweets…
The issue seems to appear when several “widgets.js” are loaded because if you leave only one script tag with the widgets.js it works properly


#6

Same issue,

API request statuses/oembed return an html with a call to widgets.js for each tweet. But now this script apply the transformation for each call.


#7

Maybe right, because I have Tweet button also and it duplicate too.


#8

We’re also observing the same issue across our sites, for example: http://snappa.press.net/#!/assets/591b2783-f175-3958-bfaa-67df88994be4


#9

I should add that this depends on the twitter servers we get from the DNS.

I see this issue with
twitter.com. 16 IN A 199.16.156.230
twitter.com. 16 IN A 199.16.156.38

But no issue with
twitter.com. 12 IN A 199.16.156.70
twitter.com. 12 IN A 199.16.156.102


#10

Same here !


#11

same probleme


#13

More pages that are affected



#14

We have same issue here also : http://www.lalibre.be/actu/international/gigantesque-explosion-dans-le-nord-de-la-chine-le-bilan-monte-a-44-morts-photos-et-videos-55cb8f3a35708aa4377f782f

We are going to fix it temporaly with removing “async”.

Thanks for fixing the issue asap.


#15

Same issue on e.g. http://gawker.com/tinder-to-vanity-fair-fuck-you-north-koreans-love-us-1723547611 (but we’re adding a workaround for now so link won’t show the issue shortly).

Old behavior we had relied on was:

  1. widgets.js automatically loads the widgets
  2. manual call to twitter.widgets.load() only adds widgets for any Tweet embeds that weren’t already added or in the process of loading at the time of the call

New behavior is:

  1. widgets.js automatically loads the widgets
  2. manual call to twitter.widgets.load() triggers addition of duplicate Tweet embeds

#16

Same over here: http://mobile2.tagesanzeiger.ch/articles/55cc40cf87da8bad38000001


#17

Thanks for all the reports of this. We are aware of this and we are investigating.


#18

Things should now be returning to normal if you clear cache / refresh on affected sites. Apologies for this issue occurring.


#19