From dd1a2c1cc86bdf11df57c12d73c3135c709beb03 Mon Sep 17 00:00:00 2001 From: 0xboobface <0xboobface@gmail.com> Date: Thu, 4 Apr 2019 18:55:36 +0200 Subject: [PATCH] Use the proper URL to retrieve the news toots --- client/src/main/java/ctbrec/ui/news/NewsTab.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/main/java/ctbrec/ui/news/NewsTab.java b/client/src/main/java/ctbrec/ui/news/NewsTab.java index 81e502c3..7fac0b13 100644 --- a/client/src/main/java/ctbrec/ui/news/NewsTab.java +++ b/client/src/main/java/ctbrec/ui/news/NewsTab.java @@ -23,7 +23,8 @@ import okhttp3.Response; public class NewsTab extends Tab implements TabSelectionListener { private static final String ACCESS_TOKEN = "a2804d73a89951a22e0f8483a6fcec8943afd88b7ba17c459c095aa9e6f94fd0"; - private static final String URL = "https://mastodon.cloud/api/v1/timelines/home?limit=50"; + //private static final String URL = "https://mastodon.cloud/api/v1/timelines/home?limit=50"; + private static final String URL = "https://mastodon.cloud/api/v1/accounts/480960/statuses?limit=20&exclude_replies=true"; private VBox layout = new VBox();