User Trackers' API endpoints
Tweet Binder’s User Trackers feature allows you to automatically take a snapshot of a twitter account stats periodically and to make queries against these snapshots.
Stats Payload
This is the tracker's information you will receive:
Fields, as shown in the previous example, are:
_id
tweets
followers
following
lists
followersFollowing
Create user trackers
It allows to create one or more trackers. You just need to pass user screen name (@username in twitter).
Endpoint: {{apiRoute}}/user-trackers/multi
When creating a tracker, the message will be
List user trackers
It returns a list of user trackers documents.
Endpoint: {{apiRoute}}/user-trackers/me
Stop User Trackers
It stops selected trackers. After stopping a tracker your trackers balance will be restored. Know that when stopping a tracker, it will stop collecting information and that "uncollected" information cannot be recovered later.
Get User Tracker stats
It checks a tracker stats
Query
There are three main parameters when checking tracker stats. By filtering a tracker by date, you can see how many followers it grew in that period. These parameters are:
startDate:
Unix time (seconds).
Reference date as start to get first stats doc
endDate
Unix time (seconds).
Reference date to get last stats doc
isTimeline
Optional, boolean
If it's false or undefined you will receive a response with two items. Account stats at startDate and accountStats at endDate
If it’s true you will receive a response with all the account snapshots between startDate and endDate.
Last updated