XD\Twitter\Extensions\TwitterExtension
Provides twitter api access for page controllers
- Author: Damian Mooyman
Synopsis
class TwitterExtension
extends Extension
{
- // members
- protected ITwitterService $twitterService = NULL;
- // methods
- public void setTwitterService()
- public ArrayData LatestTweet()
- public ArrayList LatestTweets()
- public ArrayList Favorites()
- public ArrayList List()
- public ArrayList LatestTweetsUser()
- public ArrayList SearchTweets()
Hierarchy
Extends
- SilverStripe\Core\Extension
Members
protected
- $twitterService — XD\Twitter\Services\ITwitterService
Methods
public
- Favorites() — Retrieves (up to) the last $count favourite tweets.
- LatestTweet() — Retrieves the latest tweet
- LatestTweets() — Retrieves (up to) the last $count tweets.
- LatestTweetsUser() — Retrieves (up to) the last $count tweets from $user.
- List() — Retrieves (up to) the last $count tweets from $user.
- SearchTweets() — Retrieves (up to) the last $count tweets searched by the $query
- setTwitterService() — Set the service to use for accessing twitter