-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
profile_bannerのURLを取得できるサイズの追加 #265
Conversation
User#getProfileBanner600x200URL(), User#getProfileBanner1500x500URL()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing "/"
"1500x500" のようになっていますが URL の組み立てに失敗しています。
例)https://pbs.twimg.com/profile_banners/8379212/13907201011500x500
"/1500x500" のように変更してください。
@@ -428,6 +428,21 @@ public String getProfileBannerMobileRetinaURL() { | |||
} | |||
|
|||
@Override | |||
public String getProfileBanner300x100URL() { | |||
return profileBannerImageUrl != null ? profileBannerImageUrl + "300x100" : null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing "/"
|
||
@Override | ||
public String getProfileBanner600x200URL() { | ||
return profileBannerImageUrl != null ? profileBannerImageUrl + "600x200" : null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing "/"
|
||
@Override | ||
public String getProfileBanner1500x500URL() { | ||
return profileBannerImageUrl != null ? profileBannerImageUrl + "1500x500" : null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing "/"
Thanks! |
取得できるprofile_bannerのURLに
300x100
600x200
1500x500
のサイズの追加