I used Feedburner to automatically tweet new posts on my blog, but Feedburner stopped working and I want to write my own code to do the same.
The Feedburner tweets looked like this: the post title followed by a short excerpt and a clickable image pointing to the blog post. The URL for the blog post is not included in the body of the tweet.
Can I do the same with the Twitter API, preferably using Python?
I've looked at the docs of both python-twitter PostUpdate() and Twitter API, but I could not achieve the same result. At most I could publish a tweet with the image, but without a link to the blog post.
# api_twitter = twitter.API( ...
msg = "My tweet message body."
img = "https://[...].jpg"
status = api_twitter.PostUpdate(status=msg, media=img)