This PR adds social-media/publish-post profile with following providers
[x] Instagram
[x] Facebook
[ ] Twitter - requires OAuth 1.0 authentication on create tweet endpoint, OAuth 1.0 auth header contains HMAC signature from request and auth parameters, we will have to add support for OAuth 1.0 to OneSDK to support Twitter
I used parameters to pass Instagram business account ID/ Facebook page ID/ Facebook page token values. Those parameters are specific to Instagram / Facebook, but I am not sure if it is good solution. Any thoughts?
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
This PR adds
social-media/publish-post
profile with following providers[x] Instagram
[x] Facebook
[ ] Twitter - requires OAuth 1.0 authentication on create tweet endpoint, OAuth 1.0 auth header contains HMAC signature from request and auth parameters, we will have to add support for OAuth 1.0 to OneSDK to support Twitter
OAuth 1.0 Postman pre-request script example: https://github.com/twitterdev/postman-twitter-ads-api/blob/master/scripts/pre-request.js
❗ This PR is blocked by ONESDK support for setting security schema values and parameters as perform call arguments.
Motivation and Context
User request: https://superfaceai.slack.com/archives/C02EXV8R546/p1638011134042000
I used parameters to pass
Instagram business account ID
/Facebook page ID
/Facebook page token
values. Those parameters are specific to Instagram / Facebook, but I am not sure if it is good solution. Any thoughts?Types of changes
Checklist: