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

Cannot see recent tweets using code whilch was working earlier #187

Closed lot5sharepoint closed 6 years ago

lot5sharepoint commented 6 years ago

Hi,

We are using Twitter-Post-Fetcher (17.0.0) code to fetch the tweets on SharePoint site using custom webpart. Everything was working until Friday (21 Sept), however it is now not showing any tweets.

URL which gets generated in code: https://cdn.syndication.twimg.com/widgets/timelines/487093262310588417?&lang=en&callback=__twttrf.callback&suppress_response_codes=true&rnd=0.12443617497249837

When we open above link in browser we get blank jsonp file.

Also when we open below link, it only shows Query 1: My latest tweet. It shows blank in Query 2 and 3. https://codepen.io/jasonmayes/pen/Ioype

Please confirm if you have made any changes or do we have to make any change in our code? error

AdumUK commented 6 years ago

It seems that Twitter have finished deprecating widgets.

There was an update 14 days ago from daniel_jin stating: "Update: This deprecation is complete as of September 10, 2018."

nicodemus777 commented 6 years ago

We experiencing the same as of September 21st. Getting this message:

We are on version 18.0.3

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

We tried using the screen name instead of id to no avail. Thanks!

tomwake commented 6 years ago

Same issue here too with the console error - Refused to execute script ... because its MIME type ('') is not executable, and strict MIME type checking is enabled.

lot5sharepoint commented 6 years ago

Issue here is with Widget settings, it has been deprecated by twitter. Hence if you are using widget id approach to fetch the tweets it won't work. Profile, lists, likes approaches are working on Chrome not on IE.

Refer below thread: https://github.com/jasonmayes/Twitter-Post-Fetcher/issues/186

nicodemus777 commented 6 years ago

Thanks for the thread link lot5/Jason/DesignerDave! It fixed the issue. Kind regards!