π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
fix(instagram): map (#200) permission errors to a curated message too
Gilad Resisicd1e40dcc3cc
diff --git a/libraries/nestjs-libraries/src/integrations/social/instagram.provider.ts b/libraries/nestjs-libraries/src/integrations/social/instagram.provider.tsindex 1ab4c0915..e4c5b81a7 100644--- a/libraries/nestjs-libraries/src/integrations/social/instagram.provider.ts+++ b/libraries/nestjs-libraries/src/integrations/social/instagram.provider.ts@@ -307,6 +307,14 @@ export class InstagramProvider};}+ if (body.indexOf('(#200)') > -1) {+ return {+ type: 'bad-body' as const,+ value:+ 'Facebook rejected the post due to missing permissions. Make sure your Facebook account has full content access to the Page linked to this Instagram account, then reconnect the channel.',+ };+ }+if (body.indexOf('Not enough permissions to post') > -1) {return {type: 'bad-body' as const,