如果有人可以分享他们的经验,如何在通过Twitter API发布的推文中添加号召性用语按钮,那将非常感激: POST statuses/update
预期结果
感谢您的帮助
答案 0 :(得分:1)
https://dev.twitter.com/ads/reference/post/accounts/%3Aaccount_id/cards/website
{
"data": {
"name": "Test Website Card 1",
"id": "g9z",
"preview_url": "https://cards.twitter.com/cards/abc1/g9z",
"created_at": "2014-05-18T21:29:18Z",
"card_type": "WEBSITE",
"updated_at": "2014-05-18T21:29:18Z",
"website_cta": "READ_MORE",
"account_id": "abc1"
},
"data_type": "card",
"request": {
"params": {
"name": "Test Website Card 1",
"card_type": "WEBSITE",
"account_id": "abc1",
"image": "https://pbs.twimg.com/peacock/398520248267071488/image.jpg",
"website_url": "https://support.twitter.com/",
"website_title": "Twitter Help Center",
"website_cta": "SUBSCRIBE",
}
}
}
enter code here
底线" website_cta":" SUBSCRIBE",会将号召性用语(cta)设置为订阅。