jasonmayes / Twitter-Post-Fetcher

Fetch your twitter posts without using the new Twitter 1.1 API. Pure JavaScript! By Jason Mayes
http://www.jasonmayes.com/projects/twitterApi
Other
912 stars 233 forks source link

MIME type is not executable #203

Closed codepuncher closed 5 years ago

codepuncher commented 5 years ago

Looks like this has happened many times in the past (#186, #133, #128, #149) but is happening again.

Would that mean Twitter has made a change that needs to be accounted for in the script?

Full console log:

Refused to execute script from 'https://cdn.syndication.twimg.com/widgets/timelines/**redacted**?&lang=en&callback=__twttrf.callback&suppress_response_codes=true&rnd=0.35221850338987637' because its MIME type ('') is not executable, and strict MIME type checking is enabled.

Version of Twitter-Post-Fetcher being used: 18.0.3

jasonmayes commented 5 years ago

Wait, mine still works: https://codepen.io/jasonmayes/pen/Ioype are you sure something is not cached?

jking-lewis commented 5 years ago

The last example shows the error - https://codepen.io/jking231/pen/OeqPLo

Looks like Twitter has changed something affecting calls to cdn.syndication.twimg.com

codepuncher commented 5 years ago

Going to the URL directly in a new browser returns the same error, so clientside caching isn't the issue.

jasonmayes commented 5 years ago

Oh I see your code now. Twitter fetcher no longer supports widget IDs you must convert to the new format in the new examples. Widget IDs got deprecated a long time ago once Twitter deleted widgets.