We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29201
    • 239 Posts
    Is anyone adding tweets into their Evo website?

    Feedx no longer works.

    Thanks!
      • 9995
      • 1,613 Posts
      You can try non snippet code like:
      http://members.aon.at/banana/
        Evolution user, I like the back-end speed and simplicity smiley
        • 13428 ☆ A M B ☆
        • 1,031 Posts
        Yo could try this: https://github.com/Jako/TwitX
          • 29201
          • 239 Posts
          Thanks Guys. Jako, I got TwitX working! I had to rip out the retweet code in the template as I couldn't get this to work:

          &limit=`1`
          &include_rts=`1`!


          but it accomplishes what I need!

          Thanks again! Check it out in action (see attached)
            • 29201
            • 239 Posts
            Jako,

            I can't seem to limit the tweets to just 1. I've tried modifying the snippet as well as passing the parameter. Any thoughts?

            I'm just outputting [+text+]

            Eliot
              • 13428 ☆ A M B ☆
              • 1,031 Posts
              Try the latest commit and set &cache=`0` during testing phase. In the previous version the cache can't be changed/disabled until the default (or set by snippet parameter) caching duration is reached. That is possible now. And please mention the annotation on Twitter REST API v1.1 for count on i.e. https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline if you disable retweets.
                • 29201
                • 239 Posts
                Hi Jako,

                Thanks for you help! That did work for a couple of days however now I'm not seeing the most recent tweet.

                Here is my snippet code

                            [!TwitX? 
                &cache=`0`
                    &twitter_consumer_key=`****ABdwHRZfkK7XPFuJg`
                    &twitter_consumer_secret=`0KjxZ****Na908LexYqfHZVKaUIDEBwIsK8qIJcts`
                    &twitter_access_token=`56256298****Hq5wH6Qn7IsiQj7REf3VSzjDu9p2ocOOsSPkeB`
                    &twitter_access_token_secret=`UVwZOU****kq9jHbV1B2laY0qH0zsID4xrls2N2DhU`
                &limit=`1`
                !]


                here is the template I'm using for output

                <p class="status">[+retweeted_status.text:twitx_format+]
                	<a href="http://twitter.com/[+user.screen_name+]" target="_blank">[+user.name+]</a> <span>[+created_at:strtotime:ago+]  » [+text+]</p>


                and here is what the HTML looks like

                <p class="status">
                	<a href="http://twitter.com/" target="_blank"></a> <span>  » </span></p>


                as you can see not only is the tweet not visible but my username is also gone. Am I doing something wrong here?
                  • 13428 ☆ A M B ☆
                  • 1,031 Posts
                  It's a problem with the TwitterOAuth Class. Will look for that next week.
                    • 13428 ☆ A M B ☆
                    • 1,031 Posts
                    Please try the latest one from https://github.com/Jako/TwitX
                      • 29201
                      • 239 Posts
                      Thanks Jako but I'm getting the same result which is no data ( http://cl.ly/image/0h3R1N2D0H2I ).