Weโre excited to announce the release of public API support for Posts, Account and OAuth Modules in Social Planner as part of the Phase 1 release. These APIs will enable developers to perform all the necessary operations on the above entities.
๐We’ve added few new scopes for accessing the Social Planner
- socialplanner/account.readonly
- socialplanner/account.write
- socialplanner/post.readonly
- socialplanner/post.write
- socialplanner/oauth.readonly
- socialplanner/oauth.write
๐API Endpoints:
- Post APIs – GET /social-media-posting/:locationId/posts/:id : Retrieves a single post by Post Id
- POST /social-media-posting/:locationId/posts/list: Retrieves a list of posts based on filter criteria
- POST /social-media-posting/:locationId/posts : Creates posts
- PUT /social-media-posting/:locationId/posts/:id : Updated a post by Id
- DELETE /social-media-posting/:locationId/posts/:id : Deletes a post by Id
๐Account APIs –
- GET /social-media-posting/:locationId/accounts : Retrieves accounts by locationId
- DELETE /social-media-posting/:locationId/accounts/:id : Deleted account by accountId
๐OAuth APIs –
- GET /social-media-posting/oauth/facebook/start : Initiates Facebook oauth connection
- GET /social-media-posting/oauth/:locationId/facebook/accounts/:accountId : Retrieves Facebook pages by accountId
- GET /social-media-posting/oauth/google/start : Initiates GMB oauth connection
- GET /social-media-posting/oauth/:locationId/google/locations/:accountId : Retrieves GMB profile by accountId
– GET /social-media-posting/oauth/instagram/start : Initiates Instagram oauth connection
- GET /social-media-posting/oauth/:locationId/instagram/accounts/:accountId : Retrieves Instagram profile by accountId
- GET /social-media-posting/oauth/linkedin/start : Initiates LinkedIn oauth connection
- GET /social-media-posting/oauth/:locationId/linkedin/accounts/:accountId : Retrieves LinkedIn pages and profile by accountId
- GET /social-media-posting/oauth/tiktok/start : Initiates Tiktok oauth connection
- GET /social-media-posting/oauth/:locationId/tiktok/accounts/:accountId : Retrieves Tiktok profile by accountId
- GET /social-media-posting/oauth/tiktok-business/start : Initiates Tiktok Business oauth connection
- GET /social-media-posting/oauth/:locationId/tiktok-business/accounts/:accountId: Retrieves Tiktok Business by accountId
- GET /social-media-posting/oauth/twitter/start : Initiates Twitter oauth connection
- GET /social-media-posting/oauth/:locationId/twitter/accounts/:accountId: Retrieves Twitter by accountId
- POST /social-media-posting/oauth/:locationId/facebook/accounts/:accountId : Adds Facebook account
- POST /social-media-posting/oauth/:locationId/google/locations/:accountId: Adds GMB account
- POST /social-media-posting/oauth/:locationId/instagram/accounts/:accountId : Adds Instagram account
- POST /social-media-posting/oauth/:locationId/linkedin/accounts/:accountId : Adds LinkedIn account
- POST /social-media-posting/oauth/:locationId/tiktok/accounts/:accountId : Adds Tiktok account
- POST /social-media-posting/oauth/:locationId/twitter/accounts/:accountId : Adds Twitter account
APIs – https://highlevel.stoplight.io/docs/integrations/1241127e6d4d4-social-media-posting-api
๐Why it Matters:
Developers will be able to use the APIs seamlessly through OAUTH channel using specific scopes.
We will be releasing the rest of the necessary Social Planner modules as public APIs in upcoming releases which would include group, stats, csv, rss, review, tags, categories, settings APIs in multiple phases