forked from j62/ctbrec
1
0
Fork 0

Use the proper URL to retrieve the news toots

This commit is contained in:
0xboobface 2019-04-04 18:55:36 +02:00
parent c4a18ae860
commit dd1a2c1cc8
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ import okhttp3.Response;
public class NewsTab extends Tab implements TabSelectionListener { public class NewsTab extends Tab implements TabSelectionListener {
private static final String ACCESS_TOKEN = "a2804d73a89951a22e0f8483a6fcec8943afd88b7ba17c459c095aa9e6f94fd0"; 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(); private VBox layout = new VBox();