From bd469cbd11740af052b8a449614dfeb72102400d Mon Sep 17 00:00:00 2001 From: Andreas Grasser Date: Sun, 20 Nov 2022 16:18:38 +0100 Subject: [PATCH] Changed API call to get more results --- create-circle.js | 5 +++-- style.css | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/create-circle.js b/create-circle.js index a74a054..7eb4e15 100644 --- a/create-circle.js +++ b/create-circle.js @@ -46,9 +46,10 @@ function getIdFromName(name, server) { } // Get a JSON String with all the posted statuses from the account and call processStatuses() -async function getStatuses() { +async function getStatuses(startID=null) { // Build the URL - let url = "https://"+userInfo[2]+"/api/v1/accounts/"+userInfo[1]+"/statuses?exclude_replies=true&exclude_reblogs=true"; + let url = "https://"+userInfo[2]+"/api/v1/accounts/"+userInfo[1]+"/statuses?exclude_replies=true&exclude_reblogs=true&limit=40"; + //if (startID) url = url+"&max_id="+startID // Do the async http request and call processStatuses() httpRequest(url, processStatuses); } diff --git a/style.css b/style.css index e97aa35..acc2aad 100644 --- a/style.css +++ b/style.css @@ -43,5 +43,5 @@ a { .userSubDiv { min-width: 400px; - padding: 20px; + max-width: 90%; } \ No newline at end of file