[twitter-dev] Re: monitor a #

2009-10-01 Thread Andrew Badera

You have to think beyond PHP.

1) Consider having a third-party ping monitoring utility ping your PHP
script to hit the Search API for the tag once a minute.
2) Write something in Python or Ruby or C++ and have it run on the
server as a daemon, once a minute. Or have curl or something else
local on the server cron'd to call your script once a minute.
3)  Chad Etzel's TweetHook might be a more real-time option for you
and would remove the necessity of you doing something once a minute --
I would definitely check it out. It will automagically post search
data back to your hook callback URL.

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Thu, Oct 1, 2009 at 4:27 AM, Chris bigonr...@googlemail.com wrote:

 I want to write a tool that monitors a channel, say #startnow, and
 checks say, every minute, to see if its been updated.

 How would I do this? I'm good with php, but won't that only check
 every time someone loads a php page? How do people like @hashphp reply
 to everyone that posts in #php?

 Thanks,
 Chris



[twitter-dev] Re: monitor a #

2009-10-01 Thread Kevin Mesiab

Or a chron job ;)

On Wed, Sep 30, 2009 at 10:53 PM, Andrew Badera and...@badera.us wrote:

 You have to think beyond PHP.

 1) Consider having a third-party ping monitoring utility ping your PHP
 script to hit the Search API for the tag once a minute.
 2) Write something in Python or Ruby or C++ and have it run on the
 server as a daemon, once a minute. Or have curl or something else
 local on the server cron'd to call your script once a minute.
 3)  Chad Etzel's TweetHook might be a more real-time option for you
 and would remove the necessity of you doing something once a minute --
 I would definitely check it out. It will automagically post search
 data back to your hook callback URL.

 ∞ Andy Badera
 ∞ +1 518-641-1280
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me: http://www.google.com/search?q=andrew%20badera



 On Thu, Oct 1, 2009 at 4:27 AM, Chris bigonr...@googlemail.com wrote:

 I want to write a tool that monitors a channel, say #startnow, and
 checks say, every minute, to see if its been updated.

 How would I do this? I'm good with php, but won't that only check
 every time someone loads a php page? How do people like @hashphp reply
 to everyone that posts in #php?

 Thanks,
 Chris





-- 
Kevin Mesiab
CEO, Mesiab Labs L.L.C.
http://twitter.com/kmesiab
http://mesiablabs.com
http://retweet.com


[twitter-dev] Re: monitor a #

2009-10-01 Thread Andrew Badera

Read #2 Kevin.

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Thu, Oct 1, 2009 at 4:59 AM, Kevin Mesiab ke...@mesiablabs.com wrote:

 Or a chron job ;)

 On Wed, Sep 30, 2009 at 10:53 PM, Andrew Badera and...@badera.us wrote:

 You have to think beyond PHP.

 1) Consider having a third-party ping monitoring utility ping your PHP
 script to hit the Search API for the tag once a minute.
 2) Write something in Python or Ruby or C++ and have it run on the
 server as a daemon, once a minute. Or have curl or something else
 local on the server cron'd to call your script once a minute.
 3)  Chad Etzel's TweetHook might be a more real-time option for you
 and would remove the necessity of you doing something once a minute --
 I would definitely check it out. It will automagically post search
 data back to your hook callback URL.

 ∞ Andy Badera
 ∞ +1 518-641-1280
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me: http://www.google.com/search?q=andrew%20badera



 On Thu, Oct 1, 2009 at 4:27 AM, Chris bigonr...@googlemail.com wrote:

 I want to write a tool that monitors a channel, say #startnow, and
 checks say, every minute, to see if its been updated.

 How would I do this? I'm good with php, but won't that only check
 every time someone loads a php page? How do people like @hashphp reply
 to everyone that posts in #php?

 Thanks,
 Chris





 --
 Kevin Mesiab
 CEO, Mesiab Labs L.L.C.
 http://twitter.com/kmesiab
 http://mesiablabs.com
 http://retweet.com



[twitter-dev] Re: monitor a #

2009-10-01 Thread Andrew Badera

And, that only works if you have appropriate access to the server.


On Thu, Oct 1, 2009 at 5:00 AM, Andrew Badera and...@badera.us wrote:
 Read #2 Kevin.

 ∞ Andy Badera
 ∞ +1 518-641-1280
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me: http://www.google.com/search?q=andrew%20badera



 On Thu, Oct 1, 2009 at 4:59 AM, Kevin Mesiab ke...@mesiablabs.com wrote:

 Or a chron job ;)

 On Wed, Sep 30, 2009 at 10:53 PM, Andrew Badera and...@badera.us wrote:

 You have to think beyond PHP.

 1) Consider having a third-party ping monitoring utility ping your PHP
 script to hit the Search API for the tag once a minute.
 2) Write something in Python or Ruby or C++ and have it run on the
 server as a daemon, once a minute. Or have curl or something else
 local on the server cron'd to call your script once a minute.
 3)  Chad Etzel's TweetHook might be a more real-time option for you
 and would remove the necessity of you doing something once a minute --
 I would definitely check it out. It will automagically post search
 data back to your hook callback URL.

 ∞ Andy Badera
 ∞ +1 518-641-1280
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me: http://www.google.com/search?q=andrew%20badera



 On Thu, Oct 1, 2009 at 4:27 AM, Chris bigonr...@googlemail.com wrote:

 I want to write a tool that monitors a channel, say #startnow, and
 checks say, every minute, to see if its been updated.

 How would I do this? I'm good with php, but won't that only check
 every time someone loads a php page? How do people like @hashphp reply
 to everyone that posts in #php?

 Thanks,
 Chris





 --
 Kevin Mesiab
 CEO, Mesiab Labs L.L.C.
 http://twitter.com/kmesiab
 http://mesiablabs.com
 http://retweet.com




[twitter-dev] Re: monitor a #

2009-10-01 Thread Kevin Mesiab

Attention to detail fail. ;)

On Wed, Sep 30, 2009 at 11:01 PM, Andrew Badera and...@badera.us wrote:

 And, that only works if you have appropriate access to the server.


 On Thu, Oct 1, 2009 at 5:00 AM, Andrew Badera and...@badera.us wrote:
 Read #2 Kevin.

 ∞ Andy Badera
 ∞ +1 518-641-1280
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me: http://www.google.com/search?q=andrew%20badera



 On Thu, Oct 1, 2009 at 4:59 AM, Kevin Mesiab ke...@mesiablabs.com wrote:

 Or a chron job ;)

 On Wed, Sep 30, 2009 at 10:53 PM, Andrew Badera and...@badera.us wrote:

 You have to think beyond PHP.

 1) Consider having a third-party ping monitoring utility ping your PHP
 script to hit the Search API for the tag once a minute.
 2) Write something in Python or Ruby or C++ and have it run on the
 server as a daemon, once a minute. Or have curl or something else
 local on the server cron'd to call your script once a minute.
 3)  Chad Etzel's TweetHook might be a more real-time option for you
 and would remove the necessity of you doing something once a minute --
 I would definitely check it out. It will automagically post search
 data back to your hook callback URL.

 ∞ Andy Badera
 ∞ +1 518-641-1280
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me: http://www.google.com/search?q=andrew%20badera



 On Thu, Oct 1, 2009 at 4:27 AM, Chris bigonr...@googlemail.com wrote:

 I want to write a tool that monitors a channel, say #startnow, and
 checks say, every minute, to see if its been updated.

 How would I do this? I'm good with php, but won't that only check
 every time someone loads a php page? How do people like @hashphp reply
 to everyone that posts in #php?

 Thanks,
 Chris





 --
 Kevin Mesiab
 CEO, Mesiab Labs L.L.C.
 http://twitter.com/kmesiab
 http://mesiablabs.com
 http://retweet.com






-- 
Kevin Mesiab
CEO, Mesiab Labs L.L.C.
http://twitter.com/kmesiab
http://mesiablabs.com
http://retweet.com


[twitter-dev] Re: monitor a #

2009-10-01 Thread Andrew Badera

5am Eastern, it's probably forgivable. ;)


On Thu, Oct 1, 2009 at 5:08 AM, Kevin Mesiab ke...@mesiablabs.com wrote:

 Attention to detail fail. ;)

 On Wed, Sep 30, 2009 at 11:01 PM, Andrew Badera and...@badera.us wrote:

 And, that only works if you have appropriate access to the server.


 On Thu, Oct 1, 2009 at 5:00 AM, Andrew Badera and...@badera.us wrote:
 Read #2 Kevin.

 ∞ Andy Badera
 ∞ +1 518-641-1280
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me: http://www.google.com/search?q=andrew%20badera



 On Thu, Oct 1, 2009 at 4:59 AM, Kevin Mesiab ke...@mesiablabs.com wrote:

 Or a chron job ;)

 On Wed, Sep 30, 2009 at 10:53 PM, Andrew Badera and...@badera.us wrote:

 You have to think beyond PHP.

 1) Consider having a third-party ping monitoring utility ping your PHP
 script to hit the Search API for the tag once a minute.
 2) Write something in Python or Ruby or C++ and have it run on the
 server as a daemon, once a minute. Or have curl or something else
 local on the server cron'd to call your script once a minute.
 3)  Chad Etzel's TweetHook might be a more real-time option for you
 and would remove the necessity of you doing something once a minute --
 I would definitely check it out. It will automagically post search
 data back to your hook callback URL.

 ∞ Andy Badera
 ∞ +1 518-641-1280
 ∞ This email is: [ ] bloggable [x] ask first [ ] private
 ∞ Google me: http://www.google.com/search?q=andrew%20badera



 On Thu, Oct 1, 2009 at 4:27 AM, Chris bigonr...@googlemail.com wrote:

 I want to write a tool that monitors a channel, say #startnow, and
 checks say, every minute, to see if its been updated.

 How would I do this? I'm good with php, but won't that only check
 every time someone loads a php page? How do people like @hashphp reply
 to everyone that posts in #php?

 Thanks,
 Chris





 --
 Kevin Mesiab
 CEO, Mesiab Labs L.L.C.
 http://twitter.com/kmesiab
 http://mesiablabs.com
 http://retweet.com






 --
 Kevin Mesiab
 CEO, Mesiab Labs L.L.C.
 http://twitter.com/kmesiab
 http://mesiablabs.com
 http://retweet.com



[twitter-dev] Re: monitor a #

2009-10-01 Thread Chris

Appreciate all the help from you guys. Anyone want to link me to a C++
or cURL tutorial?
Bless,
Chris

On Oct 1, 10:13 am, Andrew Badera and...@badera.us wrote:
 5am Eastern, it's probably forgivable. ;)

 On Thu, Oct 1, 2009 at 5:08 AM, Kevin Mesiab ke...@mesiablabs.com wrote:

  Attention to detail fail. ;)

  On Wed, Sep 30, 2009 at 11:01 PM, Andrew Badera and...@badera.us wrote:

  And, that only works if you have appropriate access to the server.

  On Thu, Oct 1, 2009 at 5:00 AM, Andrew Badera and...@badera.us wrote:
  Read #2 Kevin.

  ∞ Andy Badera
  ∞ +1 518-641-1280
  ∞ This email is: [ ] bloggable [x] ask first [ ] private
  ∞ Google me:http://www.google.com/search?q=andrew%20badera

  On Thu, Oct 1, 2009 at 4:59 AM, Kevin Mesiab ke...@mesiablabs.com wrote:

  Or a chron job ;)

  On Wed, Sep 30, 2009 at 10:53 PM, Andrew Badera and...@badera.us wrote:

  You have to think beyond PHP.

  1) Consider having a third-party ping monitoring utility ping your PHP
  script to hit the Search API for the tag once a minute.
  2) Write something in Python or Ruby or C++ and have it run on the
  server as a daemon, once a minute. Or have curl or something else
  local on the server cron'd to call your script once a minute.
  3)  Chad Etzel's TweetHook might be a more real-time option for you
  and would remove the necessity of you doing something once a minute --
  I would definitely check it out. It will automagically post search
  data back to your hook callback URL.

  ∞ Andy Badera
  ∞ +1 518-641-1280
  ∞ This email is: [ ] bloggable [x] ask first [ ] private
  ∞ Google me:http://www.google.com/search?q=andrew%20badera

  On Thu, Oct 1, 2009 at 4:27 AM, Chris bigonr...@googlemail.com wrote:

  I want to write a tool that monitors a channel, say #startnow, and
  checks say, every minute, to see if its been updated.

  How would I do this? I'm good with php, but won't that only check
  every time someone loads a php page? How do people like @hashphp reply
  to everyone that posts in #php?

  Thanks,
  Chris

  --
  Kevin Mesiab
  CEO, Mesiab Labs L.L.C.
 http://twitter.com/kmesiab
 http://mesiablabs.com
 http://retweet.com

  --
  Kevin Mesiab
  CEO, Mesiab Labs L.L.C.
 http://twitter.com/kmesiab
 http://mesiablabs.com
 http://retweet.com


[twitter-dev] Re: monitor a #

2009-10-01 Thread Andrew Badera

Sure, here's a GREAT cURL tutorial:

http://bit.ly/RMLrN

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Thu, Oct 1, 2009 at 8:47 AM, Chris bigonr...@googlemail.com wrote:

 Appreciate all the help from you guys. Anyone want to link me to a C++
 or cURL tutorial?
 Bless,
 Chris

 On Oct 1, 10:13 am, Andrew Badera and...@badera.us wrote:
 5am Eastern, it's probably forgivable. ;)

 On Thu, Oct 1, 2009 at 5:08 AM, Kevin Mesiab ke...@mesiablabs.com wrote:

  Attention to detail fail. ;)

  On Wed, Sep 30, 2009 at 11:01 PM, Andrew Badera and...@badera.us wrote:

  And, that only works if you have appropriate access to the server.

  On Thu, Oct 1, 2009 at 5:00 AM, Andrew Badera and...@badera.us wrote:
  Read #2 Kevin.

  ∞ Andy Badera
  ∞ +1 518-641-1280
  ∞ This email is: [ ] bloggable [x] ask first [ ] private
  ∞ Google me:http://www.google.com/search?q=andrew%20badera

  On Thu, Oct 1, 2009 at 4:59 AM, Kevin Mesiab ke...@mesiablabs.com 
  wrote:

  Or a chron job ;)

  On Wed, Sep 30, 2009 at 10:53 PM, Andrew Badera and...@badera.us 
  wrote:

  You have to think beyond PHP.

  1) Consider having a third-party ping monitoring utility ping your PHP
  script to hit the Search API for the tag once a minute.
  2) Write something in Python or Ruby or C++ and have it run on the
  server as a daemon, once a minute. Or have curl or something else
  local on the server cron'd to call your script once a minute.
  3)  Chad Etzel's TweetHook might be a more real-time option for you
  and would remove the necessity of you doing something once a minute --
  I would definitely check it out. It will automagically post search
  data back to your hook callback URL.

  ∞ Andy Badera
  ∞ +1 518-641-1280
  ∞ This email is: [ ] bloggable [x] ask first [ ] private
  ∞ Google me:http://www.google.com/search?q=andrew%20badera

  On Thu, Oct 1, 2009 at 4:27 AM, Chris bigonr...@googlemail.com wrote:

  I want to write a tool that monitors a channel, say #startnow, and
  checks say, every minute, to see if its been updated.

  How would I do this? I'm good with php, but won't that only check
  every time someone loads a php page? How do people like @hashphp reply
  to everyone that posts in #php?

  Thanks,
  Chris

  --
  Kevin Mesiab
  CEO, Mesiab Labs L.L.C.
 http://twitter.com/kmesiab
 http://mesiablabs.com
 http://retweet.com

  --
  Kevin Mesiab
  CEO, Mesiab Labs L.L.C.
 http://twitter.com/kmesiab
 http://mesiablabs.com
 http://retweet.com



[twitter-dev] Re: monitor a #

2009-10-01 Thread Michael Steuer


You can actually also make PHP scripts run as a daemon, or as a CLI  
application that you can call via cron every minute. I've done this in  
the past, but it was years ago. Do a quick google search for run php  
script as daemon and you'll find plenty of help and examples...




On Oct 1, 2009, at 1:53 AM, Andrew Badera and...@badera.us wrote:



You have to think beyond PHP.

1) Consider having a third-party ping monitoring utility ping your PHP
script to hit the Search API for the tag once a minute.
2) Write something in Python or Ruby or C++ and have it run on the
server as a daemon, once a minute. Or have curl or something else
local on the server cron'd to call your script once a minute.
3)  Chad Etzel's TweetHook might be a more real-time option for you
and would remove the necessity of you doing something once a minute --
I would definitely check it out. It will automagically post search
data back to your hook callback URL.

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Thu, Oct 1, 2009 at 4:27 AM, Chris bigonr...@googlemail.com  
wrote:


I want to write a tool that monitors a channel, say #startnow, and
checks say, every minute, to see if its been updated.

How would I do this? I'm good with php, but won't that only check
every time someone loads a php page? How do people like @hashphp  
reply

to everyone that posts in #php?

Thanks,
Chris



[twitter-dev] Re: monitor a #

2009-10-01 Thread John Kalucki

If you'd like to monitor a static set of hashtags, use the Streaming
API. You'll receive the highest proportion of tags with the least
amount of filtering and hassle. There are a number of good Streaming
API clients out in the wild.

-John Kalucki
http://twitter.com/jkalucki
Services, Twitter Inc.


On Oct 1, 1:27 am, Chris bigonr...@googlemail.com wrote:
 I want to write a tool that monitors a channel, say #startnow, and
 checks say, every minute, to see if its been updated.

 How would I do this? I'm good with php, but won't that only check
 every time someone loads a php page? How do people like @hashphp reply
 to everyone that posts in #php?

 Thanks,
 Chris