We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for TweetLines 0.1-final by vdgraphics.

    Brief Description:

    A simple snippet to get last tweets from twitter en put them into your page.
    Ouput is set of line formated as li.
    Installation :
    copy the content of the file into a snippet called TweetLines, save it ...

    Usage :
    [[!TweetLines?&name=`ArtImpulsion`&nbt=`10`!]]
    &name is the name of the twitter user you want to display feed.
    &nbt is the number of lines you want to display
    Default is 5 lines.
    This snippet can be enhanced to support various type of output thru a template, there is much more testing to do on input variables, and on the returned feed...
    If you like to contribute !
      • 36544
      • 14 Posts
      chrisderover Reply #2, 16 years ago
      Any idea how what I should do to get this working under Revolution?
      I get this error:
      Fatal error: Call to undefined function fetch_tweets() in /home/bible/domains/bibleleague.nl/public_html/core/cache/elements/modsnippet/6.include.cache.php on line 43
      when I use this snippetcall in revo: [[!TweetLines? &name=`ArtImpulsion`&nbt=`10`]]
        • 1778
        • 659 Posts
        Hello

        From http://modxcms.com/extras/package/?package=697

        TweetLines 0.1-final | Author: vdgraphics
        Works with:
        Evolution-1.0.4


        This snippets works in Evolution 1.0.4 not in Revolution...So if you want it to work on Revo you have to modify the snippet code...

        Cheers
          • 25519
          • 265 Posts

          This snippets works in Evolution 1.0.4 not in Revolution...So if you want it to work on Revo you have to modify the snippet code...
          That’s a pity as it works great in evo
          My php coding is not up to that job so i hope someone will take up the challenge ...
            • 33238
            • 388 Posts
            Hello.

            How can i to Limit the number of Tweets that appear in my page???

            i only want the last 2 for example...

            some solution please?

            thank you!!!
              --
              ysanmiguel.com
              • 25519
              • 265 Posts
              It’s in the following snippet paramater:
              &nbt=`2`

              This would call the 2 most recent tweets.

              I really liked this snippet but had to drop from my folio it when I started using Revo. I know there are other snippets around but the thing about Tweetlines I really like is that it converts URLs into hyperlinks - very handy.
                • 33238
                • 388 Posts
                Thank you man, but i was confuse...


                Usage :

                [!TweetLines?&name=`ArtImpulsion`&nbt=`10`!]

                &name is the name of the twitter user you want to display feed.

                &nbt is the number of lines you want to display

                Default is 5 lines.


                I think that number of lines means just number of lines, not number of twits.. but thank you very much my friend!!!

                And that is the reazon why i use Evo 1.0.4... there are to many things for this version.

                Thank a lot!
                  --
                  ysanmiguel.com
                  • 25519
                  • 265 Posts
                  Really, try it wink
                    • 33238
                    • 388 Posts
                    Yes my friend is working perfect.. thank you very much!!!
                      --
                      ysanmiguel.com
                      • 25519
                      • 265 Posts
                      A pleasure, happy flying wink