JTwitterFriends
class JTwitterFriends extends JTwitterObject
Twitter API Friends class for the Joomla Platform.
Methods
Constructor.
Method to check the rate limit for the requesting IP address
Method to build and return a full request URL for the request. This method will add appropriate pagination details if necessary and also prepend the API url to have a complete URL for the request.
Method to retrieve the rate limit for the requesting IP address
Method to send the request.
Set an option for the JTwitterObject instance.
Method to get an array of user IDs the specified user follows.
Method to display detailed friend information between two users.
Method to get an array of user IDs the specified user is followed by.
Method to determine pending requests to follow the authenticating user.
Method to determine every protected user for whom the authenticating user has a pending follow request.
Allows the authenticating users to follow the user specified in the ID parameter.
Allows the authenticating users to unfollow the user specified in the ID parameter.
Method to get the relationship of the authenticating user to the comma separated list of up to 100 screennames or userids provided.
Allows one to enable or disable retweets and device notifications from the specified user.
Method to get the user ids that currently authenticated user does not want to see retweets from.
Details
__construct(
Registry $options = null,
JHttp $client = null,
JTwitterOAuth $oauth = null)
Constructor.
void
checkRateLimit(
string $resource = null,
string $action = null)
Method to check the rate limit for the requesting IP address
string
fetchUrl(
string $path,
array $parameters = null)
Method to build and return a full request URL for the request. This method will add appropriate pagination details if necessary and also prepend the API url to have a complete URL for the request.
array
getRateLimit(
string $resource)
Method to retrieve the rate limit for the requesting IP address
array
sendRequest(
string $path,
string $method = 'GET',
mixed $data = array(),
array $headers = array())
Method to send the request.
array
getFriendIds(
mixed $user,
integer $cursor = null,
boolean $string_ids = null,
integer $count)
Method to get an array of user IDs the specified user follows.
array
getFriendshipDetails(
mixed $user_a,
mixed $user_b)
Method to display detailed friend information between two users.
array
getFollowerIds(
mixed $user,
integer $cursor = null,
boolean $string_ids = null,
integer $count)
Method to get an array of user IDs the specified user is followed by.
array
getFriendshipsIncoming(
integer $cursor = null,
boolean $string_ids = null)
Method to determine pending requests to follow the authenticating user.
array
getFriendshipsOutgoing(
integer $cursor = null,
boolean $string_ids = null)
Method to determine every protected user for whom the authenticating user has a pending follow request.
array
follow(
mixed $user,
boolean $follow = false)
Allows the authenticating users to follow the user specified in the ID parameter.
array
unfollow(
mixed $user)
Allows the authenticating users to unfollow the user specified in the ID parameter.
array
getFriendshipsLookup(
string $screen_name = null,
string $id = null)
Method to get the relationship of the authenticating user to the comma separated list of up to 100 screennames or userids provided.