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 11.5k 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.
    • MaxPowerM Offline
      MaxPower
      last edited by

      @chassain-0 Thank you! I will try to do the same!

      1 Reply Last reply Reply Quote 0
      • MaxPowerM Offline
        MaxPower
        last edited by

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

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          chassain 0 @MaxPower
          last edited by

          @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 Reply Quote 0
          • MaxPowerM Offline
            MaxPower
            last edited by

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

            1 Reply Last reply Reply Quote 1
            • K Offline
              kasperb @chassain 0
              last edited by

              @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 Reply Quote 0
              • C Offline
                chassain 0 @kasperb
                last edited by sdetweil

                @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

                  don’t forget ‘…’ in code

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 3
                  • 2 / 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