mirror of
https://github.com/AMNatty/Mastodon-Circles.git
synced 2024-11-21 18:47:26 -07:00
Changed API call to get more results
This commit is contained in:
parent
0ed0e15a54
commit
bd469cbd11
2 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -43,5 +43,5 @@ a {
|
|||
|
||||
.userSubDiv {
|
||||
min-width: 400px;
|
||||
padding: 20px;
|
||||
max-width: 90%;
|
||||
}
|
Loading…
Reference in a new issue