Hey @juanshishido there is some confusion on our part regarding the same,
An Ad Account has access to two types of Promotable users, FULL and RETWEETS_ONLY, in our case the Ads Account 18ce53vjzfs has access to
{
"user_id":"341724346",
"id":"jk4mx",
"account_id":"18ce53vjzfs",
"created_at":"2016-05-20T15:04:21Z",
"updated_at":"2016-08-03T14:31:15Z",
"deleted":false,
"promotable_user_type":"RETWEETS_ONLY"
}
Now we selected an existing tweet from 341724346 and promoted it from Ad Account 18ce53vjzfs.
twurl -X GET -H ads-api.twitter.com /1/accounts/18ce53vjzfs/promoted_tweets?line_item_id=81ctw | python -m "json.tool"
{
"data": [
{
"approval_status": "ACCEPTED",
"created_at": "2017-03-09T07:49:05Z",
"deleted": false,
"display_properties": [],
"id": "17ly5q",
"line_item_id": "81ctw",
"paused": false,
"tweet_id": "839744836852817921",
"updated_at": "2017-03-09T07:49:05Z"
}
],
"data_type": "promoted_tweet",
"next_cursor": null,
"request": {
"params": {
"account_id": "18ce53vjzfs",
"line_item_id": "81ctw"
}
},
"total_count": 1
}
On trying to get the preview of the tweet 839744836852817921 promoted from 18ce53vjzfs we would give the authentication details of the same ad account.
Doubts
Is the authenticating user 3311953868 (account ID 18ce543yg7o)?
Not sure what we are missing here, since the ad account in our context is 18ce53vjzfs and not 18ce543yg7o.
The use case is to show preview of the tweet 839744836852817921 which is a retweet of https://twitter.com/KowalityK/status/839744829865222144 in our system using the as_user_id parameter.
Thanks