import process from "node:process";
import { fetchJSON } from "https://esm.town/v/stevekrouse/fetchJSON";
import { twitterJSON } from "https://esm.town/v/stevekrouse/twitterJSON";
export const stevekrouseFollowing = (async () => {
let userId = 431200836;
twitterJSON;
let resp = await fetchJSON(
`https://api.twitter.com/1.1/friends/ids.json?user_id=${userId}`,
{
headers: {
authorization: `Bearer ${process.env.twitter2}`,
},
},
);
console.log(resp);
return resp.ids.map((id) => id.toString());
})();