Post

It tweets on twitter with text passed in tweet.

body: returns data

success_score: api success rate

errors: errors encountered in api

Here is the code:-

twitter.post(tweet='Hi everyone, hope doing well')
Parameters

tweet (str) – Tweet which need to be posted

Returns

{“body”: {}, “success_score”: “100”, “errors”: []}

Return type

dict