profileBannerByScreenName

fun Users.profileBannerByScreenName(screenName: String, vararg options: Option): JsonObjectApiAction<UserProfileBanner>

Returns a map of the available size variations of the specified user's profile banner. If the user has not uploaded a profile banner, a HTTP 404 will be served instead. This method can be used instead of string manipulation on the profile_banner_url returned in user objects as described in Profile Images and Banners.

The profile banner data available at each size variant's URL is in PNG format.

Receiver

Users endpoint instance.

Return

JsonObjectApiAction for UserProfileBanner model.

Parameters

screenName

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

options

Optional. Custom parameters of this request.