Learn the benefits of implementing Facebook’s Server Sider API to track and record offline non pixeled events
The benefits of Facebook’s Server to Server API
Click here for Facebook API instructions
MANNA PROXI API
MANNA has a proxi API to Facebook’s Server to Server API that may be easier for some organizations to implement. See instructions below.
URL:
https://mannaapi.azurewebsites.net/v1/facebookGraphApiProxy/[PIXEL ID]/events?mannaAccessToken=[MANNA TOKEN]
BODY:
As documented by FB: https://developers.facebook.com/docs/marketing-api/server-side-api/parameters
NOTES:
- API will return http status 200 is the submission was delivered to FB
- Hash user data (see FB docs) with SHA256 and UTF-8 encoding
- "event_time" is in epoch time
EXAMPLE:
POST https://mannaapi.azurewebsites.net/v1/facebookGraphApiProxy/[PIXEL ID/events?mannaAccessToken=[MANNA TOKEN]
{
"data": [
{
"event_name": "Purchase",
"event_time": 1583765609,
"user_data": {
"em": "309a0a5c3e211326ae75ca18196d301a9bdbd1a882a4d2569511033da23f0abd"
},
"custom_data": {
"value": 1.25,
"currency": "USD"
},
"opt_out": false
}
]
}