• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Twitter feed

Scheduled Pinned Locked Moved Troubleshooting
21 Posts 10 Posters 10.0k Views 10 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    chassain 0 @MaxPower
    last edited by Jun 17, 2020, 10:44 AM

    @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",
         					},
      				}
    		},
    
    K 1 Reply Last reply Sep 14, 2020, 5:45 PM Reply Quote 0
    • M Offline
      MaxPower
      last edited by Jun 17, 2020, 11:38 AM

      @chassain-0 Thank you! I will try it!

      1 Reply Last reply Reply Quote 1
      • K Offline
        kasperb @chassain 0
        last edited by Sep 14, 2020, 5:45 PM

        @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.

        C 1 Reply Last reply Sep 14, 2020, 6:53 PM Reply Quote 0
        • C Offline
          chassain 0 @kasperb
          last edited by sdetweil Sep 14, 2020, 7:01 PM Sep 14, 2020, 6:53 PM

          @kasperb

          {
            			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

          1 Reply Last reply Reply Quote 0
          • C Offline
            chassain 0
            last edited by Sep 14, 2020, 6:55 PM

            don’t forget ‘…’ in code

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 3
            • 3 / 3
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy