Twitter Suggestions

Categorical organization of users that others may be interested to follow.

Figure 1a. Instantiate Suggestions
$suggestions = eden('twitter')->suggestions('[TWITTER_KEY]', '[TWITTER_SECRET]', $_SESSION['access_token'], $_SESSION['access_secret']);
Figure 1b. Suggestions Methods
Method Arguments Returns Description
$suggestions->getCategory($slug, $lang = NULL);
  1. string
  2. string|null
array Access the users in a given category of the Twitter suggested user list.
$suggestions->getFavorites($id = NULL);
  1. string|integer|null
array Returns the 20 most recent Tweets favorited by the authenticating or specified user.
$suggestions->getUserByStatus($slug);
  1. string
array Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user.
$suggestions->setCount($count);
  1. integer
Eden_Twitter_Suggestions Set count
$suggestions->setSinceId($sinceId);
  1. integer
Eden_Twitter_Suggestions Set Since Id
$suggestions->setMaxId($maxId);
  1. integer
Eden_Twitter_Suggestions Set Max Id
$suggestions->includeEntities(); none Eden_Twitter_Suggestions The entities node will be omitted when set to false

© 2012 Openovate Labs. All rights reserved.