Twitter Saved

Allows users to save references to search criteria for reuse later.

Figure 1a. Instantiate Saved
$saved = eden('twitter')->saved('[TWITTER_KEY]', '[TWITTER_SECRET]', $_SESSION['access_token'], $_SESSION['access_secret']);
Figure 1b. Saved Methods
Method Arguments Returns Description
$saved->createSearch($query);
  1. string
array Create a new saved search for the authenticated user. A user may only have 25 saved searches.
$saved->getDetail($id);
  1. int
  2. - search ID
array Retrieve the information for the saved search represented by the given id. The authenticating user must be the owner of saved search ID being requested.
$saved->getSavedSearches(); none array Returns the authenticated user's saved search queries.
$saved->remove($id);
  1. int
  2. - search ID
array Destroys a saved search for the authenticating user. The authenticating user must be the owner of saved search id being destroyed.

© 2012 Openovate Labs. All rights reserved.