Hello! Thanks for the answer, so:
- I authenticate in the twurl and get a list of all tweets (I iterate through the max_id until I get desired amount - past two years in this case) and split them into groups of 20
twurl -H "api.twitter.com" "/1.1/statuses/user_timeline.json?screen_name=datapine&count=200"
So as you said, let’s focus on a single tweet. It’s an organic one. with string id = 956166983564910592
- So I make call on the jobs async api to get all the days (will have to do it multiple times to get all the days since tweet was created. I make sure to have days unique)
twurl -X POST -H "ads-api.twitter.com" "/2/stats/jobs/accounts/18ce53w2jra?entity_ids=956166983564910592&start_time=2018-02-02&end_time=2018-05-03&entity=ORGANIC_TWEET&granularity=DAY&metric_groups=ENGAGEMENT&placement=ALL_ON_TWITTER"
(in this case another call with start_time=2018-01-01 and end_time=2018-02-02 in order to cover the whole existenece of the tweet)
the response is segmented per days

So I check the UI and get the aggregated number
which corresnds to the value from API, so obviously the problem is not here.

I checked these values for all the tweets. I don’t miss any tweets, nor days.
So I got all the data from the API to my db and group them by day. I would expect to get the same result as the UI shows here ->

but the difference is large, as I mentioned in the previous post. This happens in all my accounts.
Can you please help to cast a bit light on what do the values on the graph in the analytics UI consist of?
Thanks!
Have a nice day,
Karin