UNPKG

facebookadlibrary

Version:

A package for interacting with the Facebook Ad Library API

37 lines (24 loc) 906 B
<div align="center"> Facebookadlibrary API wrapper <br /> <br /> <a href="https://swipekit.app/articles/meta-ad-library-api">Tutorial</a> · <a href="https://github.com/dec0dOS/amazing-github-template/issues/new?assignees=&labels=enhancement&template=02_FEATURE_REQUEST.md&title=feat%3A+">Request a Feature</a> . <a href="https://github.com/dec0dOS/amazing-github-template/discussions">Ask a Question</a> </div> <div align="center"> </div> # Basic usage ``` import Facebookadlibrary from "facebookadlibrary" const token = ``// get this from graph explorer tool const facebookadlibrary = new Facebookadlibrary(token); const pageId = ''; // get this by above guide const params = {}; const data = facebookadlibrary.findByPageId(pageId, {}); ``` *This project is not affiliated with Meta™ or Facebook™ in any way. Made by the fine folks at [Swipekit](https://swipekit.app) ---