I use twurl to get accounts list with "/3/accounts" API.
And I found there are two account under my account BuzzSpreader_PR.
$ twurl -H ads-api.twitter.com -XGET "/3/accounts" | jq "."
{
"request": {
"params": {}
},
"next_cursor": null,
"data": [
{
"name": "BuzzSpreader_PR",
"business_name": null,
"timezone": "Asia/Tokyo",
"timezone_switch_at": "2018-08-07T15:00:00Z",
"id": "18ce54i3soa",
"created_at": "2017-05-23T10:25:48Z",
"salt": "fccdb6b8537f0da52b9b19e2f6676728",
"updated_at": "2018-08-09T04:35:37Z",
"industry_type": null,
"business_id": null,
"approval_status": "ACCEPTED",
"deleted": false
},
{
"name": "BuzzSpreader_PR - Hotto Link Inc.",
"business_name": null,
"timezone": "Asia/Tokyo",
"timezone_switch_at": "2013-05-21T15:00:00Z",
"id": "18ce54ikttl",
"created_at": "2017-06-16T09:31:49Z",
"salt": "4a69c4790c559afcfe24eee810a01260",
"updated_at": "2018-07-19T04:47:03Z",
"industry_type": null,
"business_id": null,
"approval_status": "ACCEPTED",
"deleted": false
}
]
}
So I check their tweet user ids,
and found there have the same tweet user id, 865426208527237125.
What happened in this case?
$ twurl -H ads-api.twitter.com -XGET "/3/accounts/18ce54i3soa/promotable_users" | jq "."
{
"request": {
"params": {
"account_id": "18ce54i3soa"
}
},
"next_cursor": null,
"data": [
{
"user_id": "865426208527237125",
"id": "q26ea",
"account_id": "18ce54i3soa",
"created_at": "2017-05-23T10:25:48Z",
"updated_at": "2017-05-23T10:25:48Z",
"deleted": false,
"promotable_user_type": "FULL"
}
]
}
$ twurl -H ads-api.twitter.com -XGET "/3/accounts/18ce54ikttl/promotable_users" | jq "."
{
"request": {
"params": {
"account_id": "18ce54ikttl"
}
},
"next_cursor": null,
"data": [
{
"user_id": "865426208527237125",
"id": "qj7yj",
"account_id": "18ce54ikttl",
"created_at": "2017-06-16T09:31:49Z",
"updated_at": "2017-06-16T09:31:49Z",
"deleted": false,
"promotable_user_type": "FULL"
}
]
}