On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hi,

    Could you tell me how to embed Twitter Feed on website? Which one would you recommend?

    I want to display the latest posts on one of the site pages.

    Thank you in advance.
    • I simply place the following in a chunk and put the chunk wherever I want the feed...

      <a class="twitter-timeline" data-height="540" href="https://twitter.com/MYTWITTER">Tweets by [[++site_name]]</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

      ...replace MYTWITTER of course
        Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk
      • I think there is an extra called TwitterX that uses the API if you want or need more control over the feed.
          ■ email: lk@alienbuild.uk | ■ website: https://alienbuild.uk

          The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
        • elfsight_official Reply #4, 9 months ago

          The easiest way to add Twitter posts to your website page is to use plugin/widget.
          I would recommend you to try out this one: https://elfsight.com/twitter-feed-widget. It is fully customizable and allows you to display Twitter post from the certain page with several different templates:

          • Profile Timeline;
          • Sidebar Widget;
          • Tweets Grid.

          You can use another option and display Twitter posts by hashtag with “Hashtag Template”. Use it to show you site visitors all posts by hashtag.
          In addition we have one new template “Testimonials”. It’s great to use on the commercial sites, to increase customers trust.

          Hope it’s useful.
          Good luck.
          • Thanks to everyone for help!
            • Hi! To add an embedded timeline to your website:
              1. Go to https://publish.twitter.com/.
              2. Enter the URL of the timeline or Moment you’d like to embed.
              3. Customize the design by specifying the height, theme (light or dark), and link color to match your website.
              4. Copy and paste the code into the HTML of your website wherever you would like the timeline to appear.
              5. You're done!

              Dafont 192.168.l.l FileHippo [ed. note: amelia last edited this post 6 months, 3 weeks ago.]