Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Retrieves Hootsuite social media analytics and shortens URLs with Ow.ly via the Hootsuite API.
41% 86%+45 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 9 of 22 without it.
Which module is referenced under Next Steps for troubleshooting common Hootsuite integration errors?
Names hootsuite-common-errors for common error handling.
3 of 3 safety checks passed
Retrieve social media analytics and use Ow.ly URL shortening via the Hootsuite API. Track post performance, engagement metrics, and click-through rates.
hootsuite-install-auth setupimport 'dotenv/config';
const TOKEN = process.env.HOOTSUITE_ACCESS_TOKEN!;
const BASE = 'https://platform.hootsuite.com/v1';
async function getOrganization() {
const response = await fetch(`${BASE}/me/organizations`, {
headers: { 'Authorization': `Bearer ${TOKEN}` },
});
const { data } = await response.json();
return data[0]; // Primary organization
}
async function shortenUrl(fullUrl: string) {
const response = await fetch(`${BASE}/shorteners/owly`, {
method: 'POST',
headers: {
'Authorization': `Bearer ${TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({ url: fullUrl }),
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.