Skip to content

feat(social): implement Pinterest pin posting#254

Open
thejaytang wants to merge 1 commit into
profullstack:masterfrom
thejaytang:social-pinterest-image-pins
Open

feat(social): implement Pinterest pin posting#254
thejaytang wants to merge 1 commit into
profullstack:masterfrom
thejaytang:social-pinterest-image-pins

Conversation

@thejaytang
Copy link
Copy Markdown

Summary

  • replace the Pinterest social adapter stub with a real Pinterest API v5 Create Pin call
  • map sh1pt social posts to image_url Pin payloads with board sections, alt text, destination links, and hashtag descriptions
  • support video Pins when the caller provides a pre-uploaded Pinterest media id and cover image URL
  • add social contract coverage plus focused mocked API tests for success, validation, video payloads, and Pinterest errors

Context

Closes #253
References #6

Pinterest API docs used:

Validation

  • corepack pnpm --filter @profullstack/sh1pt-social-pinterest typecheck
  • corepack pnpm vitest run packages/social/pinterest/src/index.test.ts
  • corepack pnpm --filter @profullstack/sh1pt-social-pinterest build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Pinterest social adapter

1 participant