This commit is contained in:
CatAClock 2025-07-17 11:25:09 -07:00
parent 18a7d70d51
commit caa1cc7ef4

View file

@ -155,8 +155,9 @@ async function GetAccount() {
let MastoProfile = await MastodonAPI.GetOwnAccount();
// Get my followings on Mastodon.
let MyMastodonFollows = await MastodonAPI.GetAccountFollows(MastoProfile.id);
document.getElementsByClassName("Posts")[0].innerHTML += "FOLLOWS: <br/><br/>";
for (let i of MyMastodonFollows) {
document.getElementsByClassName("Posts")[0].innerHTML += MyMastodonFollows.acct + "<br/><br/>";
document.getElementsByClassName("Posts")[0].innerHTML += i.acct + "<br/><br/>";
}
// Bluesky stuff.
let BlueProfile = await BlueskyAPI.GetProfile(localStorage.getItem(Variables.BlueskyDID));
@ -167,6 +168,7 @@ async function GetAccount() {
AlternateAccountImage.setAttribute("src", BlueProfile.avatar);
// Get my followings on Bsky
let MyBlueskyFollows = await BlueskyAPI.GetFollows(localStorage.getItem(Variables.BlueskyDID));
AccountPosts.innerHTML += "FOLLOWS: <br/><br/>";
for (let i of MyBlueskyFollows.follows) {
AccountPosts.innerHTML += i.handle + "<br/><br/>";
}