1.2.1 • Published 4 years ago

thresh-facehook v1.2.1

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
4 years ago

Thresh Facebook

Project to query .

Dependencies

Setup

git clone git@bitbucket.org:profitfy/thresh-facehook.git
cd thresh-facehook
yarn install

Development

Full tests and test coverage

yarn test

Unit tests and watch for changes

yarn run unit-test

Facebook Campaign - Methods


- listFacebookCampaignsByAdAccountId

Parameters
  • accessToken: An object with User access token.
  • adAccountId: An object with Ad Account id.
Return

A list of objects with Campaigns data.

Facebook Campaign Insight - Methods


- listFacebookCampaignInsightByCampaignId

Parameters
  • accessToken: An object with User access token.
  • campaignId: An object with Campaign id.
  • timeRange: An object with since and until properties. Ex: {since:'YYYY-MM-DD', until:'YYYY-MM-DD'}
Return

A list of objects with Campaigns insight data.

Facebook Ad Account - Methods


- listFacebookAdAccounts

Parameters
  • accessToken: An object with User access token.
  • facebookId: An object with User id.
Return

A list of objects with Ad Accounts data.

Facebook Ad Account Insight - Methods


- listFacebookAdAccountInsightByAdAccountId

Parameters
  • accessToken: An object with User access token.
  • adAccountId: An object with Ad Account id.
  • timeRange: An object with since and until properties. Ex: {since:'YYYY-MM-DD', until:'YYYY-MM-DD'}
Return

A list of objects with Ad Accounts insight data.

License

© 2019 PROFITFY

1.2.1

4 years ago

1.2.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1-beta.1

4 years ago