Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (12 loc) · 993 Bytes

FacebookAds-Auth.md

File metadata and controls

23 lines (12 loc) · 993 Bytes

Facebook Ads SDK (Authentication Guide)

This uses the facebook-php-business-sdk for Facebook Marketing API.

Guide to gain API Access

  1. Create an app at developers.facebook.com

  2. Copy the App Id and paste it into env FB_APP_ID

  3. On the menu, go to settings and get "App Secret" copy and paste this into the env FB_APP_SECRET

  4. Add the product Marketing API to your app, selecting permissions you would like to grant the app and click "Get Token".

  5. Copy and paste the token shown into the env FB_ACCESS_TOKEN

Back to Readme

External Resources: