We faced with the problem during work with this account
https://ads-api.twitter.com/4/accounts/18ce54aubl2
{
"request": {
"params": {
"account_id": "18ce54aubl2"
}
},
"data": {
"name": "Sprinklr Brasil",
"business_name": null,
"timezone": "America/Sao_Paulo",
"timezone_switch_at": "2016-05-05T03:00:00Z",
"id": "18ce54aubl2",
"created_at": "2016-03-28T14:30:38Z",
"salt": "f37a6ad6b9c703ccd0abe849f49d7bd4",
"updated_at": "2016-06-27T14:26:50Z",
"industry_type": "BUSINESS_TO_BUSINESS",
"business_id": null,
"approval_status": "ACCEPTED",
"deleted": false
}
}
This account has the promotable user
https://ads-api.twitter.com/4/accounts/18ce54aubl2/promotable_users
{
"request": {
"params": {
"account_id": "18ce54aubl2"
}
},
"next_cursor": null,
"data": [
{
"user_id": "3345747682",
"id": "isana",
"account_id": "18ce54aubl2",
"created_at": "2016-03-28T14:30:38Z",
"updated_at": "2016-05-06T16:05:09Z",
"deleted": false,
"promotable_user_type": "FULL"
}
]
}
But request to scoped_timeline endpoint reitrive the error
https://ads-api.twitter.com/4/accounts/18ce54aubl2/scoped_timeline?scoped_to=followers&count=1000
{
"errors": [
{
"code": "INVALID_PARAMETER",
"message": "Expected user id to be promotable users, got \"3345747682\" for user_id",
"parameter": "user_id"
}
],
"request": {
"params": {
"count": 1000,
"scoped_to": "followers",
"account_id": "18ce54aubl2"
}
}
}
Also the attempt to get information about the user via such request:
https://api.twitter.com/1.1/users/show.json?user_id=3345747682
retrieve error:
{
"errors": [
{
"code": 50,
"message": "User not found."
}
]
}
But how it possible? Other endpoints retrieve information about this user except for show.json. According to the response of other endpoints, user exists, it’s not being deleted and the account is active also.