I use this technique also to limit tweets to just the ones I'm explicitly following, but you'll find that the in_array() PHP function makes this easier than creating separate tests for each user_id. I create an array of user_ids I want to follow, pass this array to Phirehose, and then compare the user_id of each tweet I receive to this array.
On Mar 25, 11:24 am, "Hope R." <h...@flagshiptv.com> wrote: > Yes - I just added an if statement in parse_tweets.php after line 48: > > //get list of acceptable userids > > if ($user_id == "123456789" || $user_id == "234567890" || $user_id == > "345678901") { > > With a closing tag at the bottom before the sleep (); statement. Works > great for me! > > On Thu, Mar 24, 2011 at 8:43 PM, Riley <digitalsimplif...@gmail.com> wrote: > > I am having the same issue, if anyone is able to help out that would be > > great! > > > Hope: Have you been able to solve this issue? > > > -Riley -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk