+ Post New Thread
Results 1 to 4 of 4
AV and Multimedia Related Thread, Twitter & Displays in Technical; Hi All, We have a official school twitter account and I want something that I can use which nicely presents ...
  1. #1
    stevenkellett's Avatar
    Join Date
    Nov 2011
    Location
    Lancashire
    Posts
    36
    Thank Post
    2
    Thanked 2 Times in 2 Posts
    Rep Power
    6

    Twitter & Displays

    Hi All,

    We have a official school twitter account and I want something that I can use which nicely presents tweets from the account. This is to be displayed on the display screens in the sixth form centre. Not wanting hashtags but @ notices from the account.

    Any one got any ideas?

    Thanks, Steve
    Last edited by stevenkellett; 14th July 2014 at 02:28 PM.

  2. #2

    Join Date
    Jul 2014
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I'm using Xibo to display an RSS feed pulled from a Twitter account for our school district.

    I generate the RSS feed using a Perl script that is running as a scheduled task on the Xibo server.

    You'll need Perl, Net::Twitter, Data::Dumper and XML::RSS installed as well as an application created at http://dev.twitter.com

    Here's the Perl script:
    Fill in your OAuth details from your Twitter Dev application and enter the account to follow.

    Code:
    use Net::Twitter;
    use Scalar::Util 'blessed';
    use Data::Dumper;
    use XML::RSS
    binmode(STDOUT, ":utf8");
    
    
    my $rss = XML::RSS->new(version => '1.0');
    $rss->channel(
      title        => "My Twitter",
      link         => "https://twitter.com/MyTwitter",
      description  => "My Twitter Feed",
      dc => {
        date       => '2000-08-23T07:00+00:00',
        subject    => "My Twitter",
        creator    => 'creater@domain.com',
        publisher  => 'publisher@domain.com',
        rights     => 'Copyleft',
        language   => 'en-us',
      },
    
    
    );
    
    
    my $screen_name="fillMeIn!";
    
    
    my $nt = Net::Twitter->new(
        traits                => [qw/OAuth API::RESTv1_1/],
        consumer_key        => "enter",
        consumer_secret     => "your",
        access_token        => "keys",
        access_token_secret => "here",
    );
    
    
    my $result = $nt->user_timeline({screen_name => $screen_name, count => "10" });
    
    
    for my $tweet ( @$result ) {
        last unless @$result;
        print "$tweet->{text}\n";
            
            $rss->add_item(
                title       => "Title1",
                link        => "http://mydomain.com",
                description => "$tweet->{text}",
            );
            
    }
    
    
    $rss->save("twitter.rss");
    Last edited by StuartQF; 22nd July 2014 at 03:47 PM.

  3. #3

    unixman_again's Avatar
    Join Date
    Nov 2011
    Posts
    778
    Thank Post
    30
    Thanked 155 Times in 117 Posts
    Rep Power
    138
    We display our twitter feed on the college website using the advice given here https://dev.twitter.com/docs/tfw

  4. #4
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    895
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    I use the 140dev Phirehose library (140dev Twitter Framework – Free Source Code Library) which monitors the public timeline, so that we can include hashtag searches, @Mentions etc in a single feed... but more importantly, can moderate the entries so that on any match an email goes to admin (me) and I can then approve the listing before it gets displayed live around the site (just to prevent any kiddywinks spamming any hashtags etc to look clever). The whole moderation portion isn't part of the library - just something v.basic & thrown together in PHP... but functional.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 2
    Last Post: 15th February 2006, 03:03 PM
  2. Active desktop not displaying fully..........?
    By tosca925 in forum Windows
    Replies: 7
    Last Post: 18th November 2005, 12:09 PM
  3. Replies: 5
    Last Post: 14th November 2005, 12:24 PM
  4. PLASMA DISPLAYS
    By alan-d in forum How do you do....it?
    Replies: 15
    Last Post: 20th September 2005, 11:18 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •