OlivierCC / spfx-40-fantastics

This package is a sample kit of Client Side Web Parts built on the SharePoint Framework SPFx. You can find here different kind of high visual web parts as carousel, images galleries, animations, map, editors, etc.
MIT License
407 stars 279 forks source link

Tweets Feed does not show images #71

Open anandasanyal opened 6 years ago

anandasanyal commented 6 years ago

I'm using Tweets Feed but it's not showing any images for the tweets. I've configured as directed. The tweets are appearing, but the images are not coming.. But in workbench the images are coming with tweets... Any help on this is really appreciated.

Thank you..

heythisispaul commented 6 years ago

Hi @anandasanyal,

I also noticed this. I'm having the same issue with the official Twitter widget when embedding it into a modern SharePoint page, but has no problems in a normal HTML file. Not sure what's causing this - the network calls are behaving the same in each case, so it must be something within the SharePoint structure.

Fortunately, Microsoft recently announced an official solution to be released shortly so hopefully the whole point it moot soon.

rmillener commented 6 years ago

Hi @anandasanyal,

If the Microsoft supported web part hasn't appeared in your tenant yet you can update your config.json to fix the issue.

change

    "twitter": {
      "path": "src/javascripts/twitter/widgets.js",
      "globalName": "twttr"
    }

to

    "twitter": {
      "path": "https://platform.twitter.com/widgets.js",
      "globalName": "twttr"
    }