A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Twitter feed
-
@chassain-0 sorry, quick question, do I just copy and paste the code line from the https://publish.twitter.com/# and enter it in to the config control widget, under the code? I get a syntax error under this line.
-
@MaxPower just past the code line like this :
{ module: "MMM-Widget1", //ok tweet hyeres disabled: false, position: "left", config: { refreshInterval: 1000*60*60, code: `<a class="twitter-timeline" href="https://twitter.com/villedhyeres?ref_src=twsrc%5Etfw">Tweets by villedhyeres</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> `, // https://publish.twitter.com/ iframeStyle: { width: "700px", height: "820px", }, } },
-
@chassain-0 Thank you! I will try it!
-
@chassain-0 said in Twitter feed:
code: `<a href="https://twitter.com/villedhyeres?ref_src=twsrc%5Etfw">Tweets by villedhyeres</a> `, // https://publish.twitter.com/
Hi - did you have any other dependencies configured prior to adding this to your config? I just tried this (after installing the MMM-Widget2 app), but nothing is being displayed on the screen. My objective is to display the CNN breaking news feed from twitter.
-
{ module: "MMM-Widget1", //ok tweet CNN disabled: false, position: "left", config: { refreshInterval: 1000*60*60, code: `<a class="twitter-timeline" href="https://twitter.com/CNN?ref_src=twsrc%5Etfw">Tweets by CNN</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> `, // https://publish.twitter.com/ iframeStyle: { width: "700px", height: "820px", }, } },
looks like this in config MMM Widget2. no try in my magicmirror
-
don’t forget ‘…’ in code