XD\Twitter\Services\TwitterService
JSON powered twitter service
- Author: Damian Mooyman
Synopsis
class TwitterService
implements
ITwitterService
{
- // members
- private static bool $use_https = false;
- // methods
- protected TwitterOAuth getConnection()
- public void getTweets()
- public array|null getFavorites()
- public void searchTweets()
- public array|null getList()
- public static string determine_time_ago()
Hierarchy
Implements
Members
private
- $use_https
—
XD\Twitter\Services\bool
Use https for inserted media (prevents mixed content warnings on SSL websites)
Methods
protected
- getConnection() — Generate a new TwitterOAuth connection
public
- determine_time_ago() — Calculate the time ago in days, hours, whichever is the most significant
- getFavorites() — get favourite tweets associated with the user.
- getList() — get list by using the list_id.
- getTweets()
- searchTweets()