Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Send offline conversion events to a Facebook dataset reading from a csv file

Notifications You must be signed in to change notification settings

freibergergarcia/php-facebook-offline-conversions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-facebook-offline-conversions

Send offline conversion events to a Facebook dataset reading from a csv file.

https://developers.facebook.com/docs/marketing-api/offline-conversions

Getting started

Clone the repository in you local machine

$ git clone https://github.com/freibergergarcia/facebook-offline-conversions.git

Installing

To install all dependencies run

$ composer update

Setting up the environment variables

You should edit the file .env.dev with the Facebook credentials. To get the credentials, follow the Setup items 1 to 6 on the offline conversion link above.

Requirements

  • PHP 7.2
  • Composer

Running the tests

$ vendor/bin/phpunit

If you need to change any of the config edit the phpunit.xml. Logs can be seen here.

About

Send offline conversion events to a Facebook dataset reading from a csv file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published