Tfw-preflight showing in platform.twitter.com/widgets.js


#1

I noticed tonight that the twitter widget on our site wasn’t loading so I checked the chrome dev console and I could see a Javascript error “tfw is undefined”

I checked the source directly at https://platform.twitter.com/widgets.js and could see it had this line

tfw-preflight

inserted before the usual !function(){… at the start of the file

Googling tfw-preflight didn’t seem to return any relevant results (just urban dictionary stuff for tfw) so I have no clue what this means and why it was prepended to the file https://platform.twitter.com/widgets.js.

after about 10 minutes everything went back to normal but I would be interested to know if anyone knows what happened and what tfw-preflight means.


#2

We accidentally deployed a test build - as soon as this was rolled back and the CDNs refreshed, things were back to normal. We apologise for the brief outage of the correct version of the widgets code here.


#3

thanks for the info…good to know I’m not the only one who makes mistakes.


#4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.