开发者

PHP Twitter Search API

Im looking for a way of running a Twitter Search (Automated v开发者_StackOverflow社区ia CRON) that will search for a list of terms held in a text file.

Once it finds those terms I want it to write to results to a text file. Can anyone suggest anything? Simpler the better.

Edit

Seems I may not have been too clear,

I want to be able to Search Twitter, based on the contents of a CSV file.

The results should be cached, save to file.


there are 3 steps:

  1. set up a php script to run periodically (if you are using cpanel, you should find a GUI option to do so)
  2. create a text file that contains the terms you want to search
  3. the script will read the file (file and fread, or file_get_contents) and then search for the terms on twitter (try php-twitter)


What is you question exactly? How to read from a file? How to use the twitter api? How to cron you script?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜