diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-09-15 13:06:05 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-09-15 13:06:05 +0900 |
commit | 0e331f89f621c954adb29446142b879c137615a0 (patch) | |
tree | beb975fd9e0641528809d516e30000fec10d6f09 /app/src/main/java/net/lacolaco/smileessence/entity/User.java | |
parent | 7c4deb7a9109a277f95066ac40af1d96f8f410ec (diff) | |
download | SmileEssence-0e331f89f621c954adb29446142b879c137615a0.tar.gz |
TwitterUtils を整理(WIP)
Diffstat (limited to 'app/src/main/java/net/lacolaco/smileessence/entity/User.java')
-rw-r--r-- | app/src/main/java/net/lacolaco/smileessence/entity/User.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/src/main/java/net/lacolaco/smileessence/entity/User.java b/app/src/main/java/net/lacolaco/smileessence/entity/User.java index 04f3e4fc..73e94ae4 100644 --- a/app/src/main/java/net/lacolaco/smileessence/entity/User.java +++ b/app/src/main/java/net/lacolaco/smileessence/entity/User.java @@ -131,4 +131,21 @@ public class User { public boolean isVerified() { return isVerified; } + + + public String getUserHomeURL() { + return String.format("https://twitter.com/%s", getScreenName()); + } + + public String getAclogTimelineURL() { + return String.format("http://aclog.koba789.com/%s/timeline", getScreenName()); + } + + public String getFavstarRecentURL() { + return String.format("http://favstar.fm/users/%s/recent", getScreenName()); + } + + public String getTwilogURL() { + return String.format("http://twilog.org/%s", getScreenName()); + } } |