Facebook Analytics: User Properties and Logged Events Using the Graphical API

I have a facebook application (Messenger Bot App) where I log user events for each user using the graph API endpoint / application / activities /

Events are recorded perfectly. I want to create custom properties for my messenger users so that I can segment application data using these properties as described below: https://developers.facebook.com/docs/analytics/properties

So what I did was use the graph API / application / user_properties / API endpoint to create the properties.

He returned "success", the properties were created perfectly, and I see them as possible filters for segmentation on the application analytics page. But these filters do not always return results!

I think the problem is that events are logged for a specific "fb_user_id", but there is nothing at the endpoint of the user properties to associate "fb_user_id" with the newly created properties.

the FB documentation https://developers.facebook.com/docs/analytics/properties says:

When you set the user ID, this identifier is stored on the user device and included in the events of applications registered on this device.

, , . . custom_events [ "_ app_user_id" ], , , .

+4
1

custom_events["_app_user_id"] - , , custom_events["user_unique_id"] .

0

Source: https://habr.com/ru/post/1662064/


All Articles