Twitter Library

These functions provide access to your Twitter account. To be able to use this library, you MUST connect your Twitter account to your Medium One account through the External APIs Page.

 

Import


To use this library and its functions, you must use the import line at the beginning of your Base Python code.

import Twitter

 

Functions

Twitter.post_status

Usage: Twitter.post_status(message)

Posts a tweet to your linked Twitter account

  • Credit cost: 1
  • Parameters:

    • messagestr the text to be posted on the tweet
  • Returns: None



Sample Code

import Twitter

message = "Hello!"
Twitter.post_status(message)
Have more questions? Submit a request

0 Comments

Article is closed for comments.