Tuitter_User
The class represents a Twitter User.
Properties
- id: The user ID
- screen_name: The screen name.
- location: The location.
- description: The description.
- profile_image_url: The URL of the profile image.
- url: The more info URL.
- protected: Whether protect the tweets.
- friends_count: The number of the followings.
- followers_count: The number of the followers.
- statuses_count: The number of the tweets.
- favorites_count: The number of the favorites.
- profile_background_color: The background color of the profile page.
- profile_background_image_url: The URL of the background image of the profile page.
- profile_text_color: The text color of the profile page.
- profile_link_color: The link color of the profile page.
- profile_sidebar_fill_color: The fill color of the sidebar of the profile page.
- profile_sidebar_border_color: The border color of the sidebar of the profile page.
- created_at: The date of the account creation.
- utc_offset: The offset of the time zone.
- time_zone: The time zone.
- geo_enabled: Whether enabling geo tagging.
Methods
-
Tuitter_User::follow : Follows this user
-
Tuitter_User::isFollowing : Tests whether the authenticating user is following this user
-
Tuitter_User::sendDM : Sends a direct message to this user
-
Tuitter_User::unfollow : Unfollows this user