forked from j62/ctbrec
Use the proper URL to retrieve the news toots
This commit is contained in:
parent
c4a18ae860
commit
dd1a2c1cc8
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue