diff --git a/app/server/huntly-server/src/main/java/com/huntly/server/connector/twitter/TweetParser.java b/app/server/huntly-server/src/main/java/com/huntly/server/connector/twitter/TweetParser.java index 3459b1e..31e1df1 100644 --- a/app/server/huntly-server/src/main/java/com/huntly/server/connector/twitter/TweetParser.java +++ b/app/server/huntly-server/src/main/java/com/huntly/server/connector/twitter/TweetParser.java @@ -316,6 +316,8 @@ private static TweetsRoot.Timeline getTimeline(TweetsRoot root) { } } else if (root.data.bookmark_timeline != null) { timeline = root.data.bookmark_timeline.timeline; + } else if (root.data.bookmark_timeline_v2 != null) { + timeline = root.data.bookmark_timeline_v2.timeline; } else if (root.data.viewer != null && root.data.viewer.communities_timeline != null) { timeline = root.data.viewer.communities_timeline.timeline; } else if (root.data.user != null) { diff --git a/app/server/huntly-server/src/main/java/com/huntly/server/domain/model/tweet/TweetsRoot.java b/app/server/huntly-server/src/main/java/com/huntly/server/domain/model/tweet/TweetsRoot.java index 0b7f884..2e84a19 100644 --- a/app/server/huntly-server/src/main/java/com/huntly/server/domain/model/tweet/TweetsRoot.java +++ b/app/server/huntly-server/src/main/java/com/huntly/server/domain/model/tweet/TweetsRoot.java @@ -86,6 +86,8 @@ public static class Data { public Timeline threaded_conversation_with_injections_v2; public BookmarkTimeline bookmark_timeline; + + public BookmarkTimeline bookmark_timeline_v2; public Viewer viewer;