Skip to content

Commit e0f9fa5

Browse files
committed
Merge branch 'master' of github.com:takke/twitter4j-v2
2 parents 1f6c7ba + 94e679b commit e0f9fa5

File tree

1 file changed

+4
-2
lines changed
  • twitter4j-v2-support/src/main/kotlin/twitter4j

1 file changed

+4
-2
lines changed

twitter4j-v2-support/src/main/kotlin/twitter4j/User2.kt

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@ data class User2(
2222
val followersCount: Int,
2323
val followingCount: Int,
2424
val tweetCount: Int,
25-
val listedCount: Int
25+
val listedCount: Int,
26+
val likeCount: Int
2627
) {
2728

2829
constructor(json: JSONObject) : this(
2930
followersCount = ParseUtil.getInt("followers_count", json),
3031
followingCount = ParseUtil.getInt("following_count", json),
3132
tweetCount = ParseUtil.getInt("tweet_count", json),
32-
listedCount = ParseUtil.getInt("listed_count", json)
33+
listedCount = ParseUtil.getInt("listed_count", json),
34+
likeCount = ParseUtil.getInt("like_count", json)
3335
)
3436

3537
}

0 commit comments

Comments
 (0)