[SOLVED] Facebook Pixel – How to add people to the Facebook Pixel programmatically


We’re currently trying to Add People to a Facebook Pixel by code instead of manually doing it. We were checking their API and it seems there’s a way to create a Pixel, but we have yet to find out a way to add people into this pixel. The only thing that looks like sending a user param is this, however, I don’t think we want to create an event for an external user…

Is it even possible to add people to the pixel with the current Facebook API? If so, what’s the correct approach to deal with this?


We were able to solve this issue. We just needed to include the pixelId and assigned_users as shown in the following POST request:


  "user": "{fbUserId}",

Answered By – elco45

Answer Checked By – Katrina (BugsFixing Volunteer)

Leave a Reply

Your email address will not be published.