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
911 stars 233 forks source link

Refuse to execute script #155

Closed AmyScript closed 7 years ago

AmyScript commented 7 years ago

Hi, I ran into an error when using the code: Refused to execute script from 'https://cdn.syndication.twimg.com/widgets/timelines/....' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.

So I had to modify code for it to return a JSONP object instead using this: https://json2jsonp.com/

Is there any other way around this?

Thanks!

jasonmayes commented 7 years ago

You need to use the latest version of Twitter Fetcher. This has been fixed.