is there a way to run files get tweets and parse tweets directly from a single php file?
--
You received this message because you are subscribed to the Google Groups "140dev Twitter Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 140dev-twitter-fra...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi, Antonio. In theory you could certainly rewrite get_tweets.php and parse_tweets.php into a single script. The basic goal, however, is to insert the tweets as fast as possible, so you can keep up with the API when the flow is high. That is why I grab the tweets and insert them as simply as possible in get_tweets.php. Then parse_tweets.php can work with them at any rate without stalling the collection.
On Wed, Apr 30, 2014 at 11:42 AM, Antonio Delli Carpini <anto.del...@gmail.com> wrote:
is there a way to run files get tweets and parse tweets directly from a single php file?
--
You received this message because you are subscribed to the Google Groups "140dev Twitter Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 140dev-twitter-framework+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to 140dev-twitter-fra...@googlegroups.com.
You can run a background process from a script with:exec('nohup php parse_tweets.php > /dev/null &');
On Wed, Apr 30, 2014 at 3:56 PM, Antonio Delli Carpini <anto.del...@gmail.com> wrote:
I apologize for my English. But from the beginning I wanted to say if there was a way to retrieve the two files and get the parser from a php script instead of from the Command line
Il giorno mercoledì 30 aprile 2014 19:52:33 UTC+2, Antonio Delli Carpini ha scritto:
This I have understood. But if I wanted to run the script remotely on a web server, I would make sure that within a php file recall the two files: get and parse. In this way, there are two processes running on the server; While the other way processes are running on your computer.
Il giorno mercoledì 30 aprile 2014 17:50:00 UTC+2, Adam Green ha scritto:
Hi, Antonio. In theory you could certainly rewrite get_tweets.php and parse_tweets.php into a single script. The basic goal, however, is to insert the tweets as fast as possible, so you can keep up with the API when the flow is high. That is why I grab the tweets and insert them as simply as possible in get_tweets.php. Then parse_tweets.php can work with them at any rate without stalling the collection.
On Wed, Apr 30, 2014 at 11:42 AM, Antonio Delli Carpini <anto.del...@gmail.com> wrote:
is there a way to run files get tweets and parse tweets directly from a single php file?
--
You received this message because you are subscribed to the Google Groups "140dev Twitter Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 140dev-twitter-framework+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "140dev Twitter Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 140dev-twitter-framework+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to 140dev-twitter-fra...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to 140dev-twitter-fra...@googlegroups.com.