JTwitterProfile
class JTwitterProfile extends JTwitterObject
Twitter API Profile 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 et values that users are able to set under the "Account" tab of their settings page.
Method to update the authenticating user's profile background image. This method can also be used to enable or disable the profile background image.
Method to update the authenticating user's profile image.
Method to set one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com.
Method to get the settings (including current trend, geo and sleep time information) for the authenticating user.
Method to update the authenticating user's settings.
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
updateProfile(
string $name = null,
string $url = null,
string $location = null,
string $description = null,
boolean $entities = null,
boolean $skip_status = null)
Method to et values that users are able to set under the "Account" tab of their settings page.
array
updateProfileBackgroundImage(
string $image = null,
boolean $tile = false,
boolean $entities = null,
boolean $skip_status = null,
boolean $use = false)
Method to update the authenticating user's profile background image. This method can also be used to enable or disable the profile background image.
array
updateProfileImage(
string $image = null,
boolean $entities = null,
boolean $skip_status = null)
Method to update the authenticating user's profile image.
array
updateProfileColors(
string $background = null,
string $link = null,
string $sidebar_border = null,
string $sidebar_fill = null,
string $text = null,
boolean $entities = null,
boolean $skip_status = null)
Method to set one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com.