Maithili : Create auto poster pinterest#2268
Open
maithili20 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Create appropriate auto-poster for Pinterest
Related PRS (if any):
To test this backend PR you need to checkout the 5380 frontend PR.
Main changes explained:
Initial setup to create Pinterest account and application:
Step 1 — Create a Pinterest Developer account
Go to
https://developers.pinterest.comand sign in with your Pinterest account. If you don't have one, create a free Pinterest account first.Step 2 — Create an app
OneCommunitySocial media auto posterOtherStep 3 — Get your App ID and App Secret
PINTEREST_APP_IDPINTEREST_APP_SECRET.env:Step 4 — Add your redirect URI
Step 5 — Request API access
Pinterest apps start in sandbox mode by default, which limits what you can do.
pins:readpins:writeboards:readboards:writeusers:readStep 6 — Set sandbox vs production in your
.envWhile waiting for approval, use sandbox mode:
To get the sandbox token:
PINTEREST_SANDBOX_API_TOKENOnce Pinterest approves your app for production:
These will be in you env file
How to test:
Create and upload a post immediately
- Fill in the form
- Try out all the options
- Click the Post button
- Verify that the post appears in your Pinterest account with the correct title, images, descriptions
Create and delete scheduled post
- Fill in the form
- Click Schedule button
- Confirm the post appears under the Pin Queue section immediately.
- Test deleting the scheduled post: After clicking Remove, ensure the post is removed from the Scheduled Posts section instantly.
- Wait for the scheduled time and verify that the post is published to your Pinterest account as expected. Also verify that post is removed from Pin Queue
Screenshots or videos of changes:
https://www.dropbox.com/scl/fi/ae41s6fmdkoz76g72ryh0/screen-recording-2026-07-09-at-34456-pm_ziZ7d8sb.mov?rlkey=7iwspku06w295hqpd788toyna&st=w4h6pb3a&dl=0