- Obtain
ad_account_id
from facebook business profile - Obtain
token
from facebook developer profile - Be sure to have mongoDB service up and running.
Get it's connections url
mongodb://<hostname>:<port>
. (default: mongodb://localhost:27017) - (Optional) Get some
port
to run your app on (default: 3000)
npm start -- --mongo=<mongo_url> --id=<ad_account_id> --token=<token> --port=<port>
- Be sure you have web server up and running following steps in How to Start section
- Using your favourite method, make a request
Example using CURL:
curl -XPOST 'localhost:3000/create?objective=APP_INSTALLS&name=Some%20Name%20Here' && echo
- Be sure you have web server up and running following steps in How to Start section
- Using your favourite method, make a request
Example using CURL:
curl -XPOST 'localhost:3000/delete' && echo
MIT