Show User Tag

Returns a variety of information about the user specified by the required user_id or screen_name parameter.

Note: The output from this tag is not cached automatically. Each time this tag is displayed, it counts as a hit against the API limit. For this reason (and because cached results are faster), it is strongly recommended to always use some form of caching with this tag. Check out ExpressionEngine® native tag caching or CE Cache for caching options.

Example

In the following example, the variables are listed out to show their values for the 'causingeffect' username.


name: Causing Effect
screen_name: causingeffect
id_str: 39257960
location: Satellite Beach, Florida - USA
description: Causing Effect is a brand and web development company that makes premium websites and ExpressionEngine add-ons. Run by @aaronwaldon
url: http://t.co/9zqQJYGJrf
followers_count: 720
friends_count: 107
listed_count: 36
created_at: 1242051161
created_at_relative: May 2009
favourites_count: 125
utc_offset: -28800
time_zone: Pacific Time (US & Canada)
geo_enabled:
verified:
statuses_count: 1982
lang: en
is_translator:
profile_background_color: F0F0F0
profile_background_image_url: http://pbs.twimg.com/profile_background_images/656540522/r3ud19rc5l7otl8w7yvi.png
profile_background_image_url_https: https://pbs.twimg.com/profile_background_images/656540522/r3ud19rc5l7otl8w7yvi.png
profile_background_tile: 1
profile_image_url_https: https://pbs.twimg.com/profile_images/2600212485/ke6o7vspag9tavb0yyf6_normal.png
profile_banner_url: https://pbs.twimg.com/profile_banners/39257960/1367987769
profile_link_color: 007EC1
profile_sidebar_border_color: 6F6F6F
profile_sidebar_fill_color: F9F9F9
profile_text_color: 444444
profile_use_background_image: 1
default_profile:
default_profile_image:

<p>
    <img src="{profile_image_url}" width="48" height="48" /><br>
    <b>name</b>: {name}<br>
    <b>screen_name</b>: {screen_name}<br>
    <b>id_str</b>: {id_str}<br>
    <b>location</b>: {location}<br>
    <b>description</b>: {description}<br>
    <b>url</b>: {url}<br>
    <b>followers_count</b>: {followers_count}<br>
    <b>friends_count</b>: {friends_count}<br>
    <b>listed_count</b>: {listed_count}<br>
    <b>created_at</b>: {created_at}<br>
    <b>created_at_relative</b>: {created_at_relative}<br>
    <b>favourites_count</b>: {favourites_count}<br>
    <b>utc_offset</b>: {utc_offset}<br>
    <b>time_zone</b>: {time_zone}<br>
    <b>geo_enabled</b>: {geo_enabled}<br>
    <b>verified</b>: {verified}<br>
    <b>statuses_count</b>: {statuses_count}<br>
    <b>lang</b>: {lang}<br>
    <b>is_translator</b>: {is_translator}<br>
    <b>profile_background_color</b>: {profile_background_color}<br>
    <b>profile_background_image_url</b>: {profile_background_image_url}<br>
    <b>profile_background_image_url_https</b>: {profile_background_image_url_https}<br>
    <b>profile_background_tile</b>: {profile_background_tile}<br>
    <b>profile_image_url_https</b>: {profile_image_url_https}<br>
    <b>profile_banner_url</b>: {profile_banner_url}<br>
    <b>profile_link_color</b>: {profile_link_color}<br>
    <b>profile_sidebar_border_color</b>: {profile_sidebar_border_color}<br>
    <b>profile_sidebar_fill_color</b>: {profile_sidebar_fill_color}<br>
    <b>profile_text_color</b>: {profile_text_color}<br>
    <b>profile_use_background_image</b>: {profile_use_background_image}<br>
    <b>default_profile</b>: {default_profile}<br>
    <b>default_profile_image</b>: {default_profile_image}<br>
</p>

Note: You have complete control over the code, variables, and style of your Tweets.

Parameters

Note: Always specify either a user_id or screen_name. All other parameters are optional.

user_id=

The id of the user for whom to return results for. Helpful for disambiguating when a valid user id is also a valid screen name.

screen_name=

The screen name of the user for whom to return results for. Helpful for disambiguating when a valid screen name is also a user id.

include_entities=

When set to "yes", each tweet will include a variety of metadata about the tweet, including: user_mentions, urls, and hashtags. The default is "yes".

link=

Should the text be hyperlinked? Can be one or more of the following:

  • h Link hashtags like #example
  • m Link mention like @causingeffect
  • u Link URLs like http://www.causingeffect.com

Multiple values should be pipe delimited. Defaults to "h|m|u".

seconds=

The amount of seconds to cache this tag’s output. Defaults to "300" (5 minutes).

Variables

{id_str}
{name}
{screen_name}
{location}
{description}
{url}
{followers_count}
{friends_count}
{listed_count}
{created_at}
{created_at_relative}
{favourites_count}
{utc_offset}
{time_zone}
{geo_enabled}
{verified}
{statuses_count}
{lang}
{is_translator}
{profile_background_color}
{profile_background_image_url}
{profile_background_image_url_https}
{profile_background_tile}
{profile_image_url}
{profile_image_url_https}
{profile_banner_url}
{profile_link_color}
{profile_sidebar_border_color}
{profile_sidebar_fill_color}
{profile_text_color}
{profile_use_background_image}
{default_profile}
{default_profile_image}

Note: Take a look at the Twitter Tweets documentation for more details about the variables.

Twitter Resources

This method is an implementation of the Twitter users/show REST API.