I already have this method to post on a facebook page
exports.publish = function(fbToken, post){
return new Promise(function (resolve, reject){
FB.setAccessToken(fbToken);
FB.api('me/feed', 'post', {message: post.text})
.then(function(response) {
resolve(response.id)
})
.catch(function(error) {
reject(error)
});
})
}
However, I would like to boost a post and set some kind of audience, budget, and duration, but I can not find the way.
I've been reading: https://developers.facebook.com/docs/marketing-apis But How can I set the custom boost in a specific post?