You are here

function twitter_puller::__construct in Twitter Pull 6.2

Same name and namespace in other branches
  1. 6 twitter_pull.class.inc \twitter_puller::__construct()
  2. 7.2 twitter_pull.class.inc \twitter_puller::__construct()
  3. 7 twitter_pull.class.inc \twitter_puller::__construct()

Parameters

$twitkey: Twitter key, which can be a username (prepended with @) or hashtag (prepended with #)

$num_items: maximum number of tweets to pull from Twitter.

File

./twitter_pull.class.inc, line 22
twitter pull class implementation

Class

twitter_puller
@file twitter pull class implementation

Code

function __construct($twitkey, $num_items) {
  $this->twitkey = $twitkey;
  $this->num_items = $num_items;
  $this
    ->check_arguments();
}