fbinstant-deploy
1.0.1 • Public • Published 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!");
});
/fbinstant-deploy/
//
Package Sidebar
Install
Weekly Downloads