Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create a new scheduled Tweet via the API

Tags:

twitter

api

I looked into their documentation and they do provide this feature:

https://support.twitter.com/articles/20170532-scheduled-tweets#How_to_create_a_new_scheduled_Tweet

But would it be possible to do this through the API (I didn't find any reference to this or attributes).

like image 413
Jerome Ansia Avatar asked Oct 19 '22 15:10

Jerome Ansia


1 Answers

This can be done using Twitter Ads API(scheduled tweets api).

From the api doc,

Scheduled Tweets allow an advertiser or user to create a Tweet that can be scheduled to go live at a later date. In addition to being able create and manage these Tweets, the API allows the ability to associate these Tweets with a line item, to be promoted once the Tweet goes live. This allows advertisers to stage create native Tweets and plan their campaign creatives in advance of any key initiatives. For example, staging a Tweet creative to live immediately upon a new product announcement.

The full set of functionality provided by the Scheduled Tweets API endpoints are listed below:

  • Create, modify and view newly scheduled Tweets
  • Associate a Scheduled Tweet with a line item
  • Query and manage existing scheduled Tweets
  • Once a Scheduled Tweet goes live, retrieve the live Tweet id

Complete details can be found here

like image 155
ceekay Avatar answered Oct 27 '22 09:10

ceekay