1.0.1 • Published 5 years ago
fbinstant-deploy v1.0.1
Deployer for facebook instant games
NPM package to help automate the deployment of facebook instant games.
The deploy() function returns a promise that will resolve if the package has been delivered to the facebook endpoint.
#installation
npm install --save-dev fbinstant-deploy
Usage
require("fbinstant-deploy").deploy(directory, access_token, app_id, comment);
Example
const instantDeployer = require("fbinstant-deploy");
instantDeployer.deploy("/some/dir/to/zip/", "access_token", "app_id", "some comment here").then(()=>{
console.log("Deployment successful!");
});