Hello Guest

Author Topic: Twitter monitoring  (Read 4481 times)

0 Members and 1 Guest are viewing this topic.

Offline nil

  • Administrator
  • Expert member
  • *****
  • Posts: 1294
  • Karma: 28
  • I can see everything... with my glasses :-)
    • View Profile
    • Pandora FMS
Twitter monitoring
« on: November 24, 2011, 10:25:18 AM »
Will be cool to have a monitor to count the mentions on your twitter account or search for specific topics.

Using their REST API should be "easy" to do, any volunteer ?
« Last Edit: November 25, 2011, 01:19:53 AM by zarzuelo »
-- See you in the other screen.

Offline zarzuelo

  • Full Member
  • ***
  • Posts: 45
  • Karma: 1
    • View Profile
Re: Twitter monitoring
« Reply #1 on: November 28, 2011, 08:42:24 AM »
I found this perl library for twitter. With it should be easy make a Pandora FMS plugin to connect to Twitter and get out info :)

http://search.cpan.org/dist/Net-Twitter/

Offline zarzuelo

  • Full Member
  • ***
  • Posts: 45
  • Karma: 1
    • View Profile
Re: Twitter monitoring
« Reply #2 on: November 30, 2011, 09:02:05 AM »
Yeah!

I've created our first server plugin to monitor Twitter!!

I've called it MENTWEET (mention + tweet xD)

It's a simple script that provides the number of matches with a string (mentions) in a interval (last X seconds).

The scripts receives two parameters (the second is optative and is 300 by default).

Example of use:

 ./mentweet.pl 'Pandora FMS' 600

Download and more info in the resources section at pandorafms.org:

http://pandorafms.org/index.php?sec=pandora&sec2=repository&lng=es&action=view_PUI&id_PUI=249



« Last Edit: August 23, 2012, 12:57:03 AM by zarzuelo »

Offline nil

  • Administrator
  • Expert member
  • *****
  • Posts: 1294
  • Karma: 28
  • I can see everything... with my glasses :-)
    • View Profile
    • Pandora FMS
Re: Twitter monitoring
« Reply #3 on: November 30, 2011, 03:17:09 PM »
Nice :-)

+1 !
-- See you in the other screen.