Parse your rss feed and post to Twitter with feed2tweet

What’s more important today for a website than relaying your new blog posts to the social networks, especially Twitter ?

Lots of unmaintained or unreliable third-parties web services offer this feature. I tried and was really disappointed using them.

Feed2tweet, forked from rss2twitter, now offer a self-hosted, documented, easy-to-read Python application to automatically transfer the new posts in your RSS feed to the social network Twitter.

Have a look at the official documentation on Readthedocs in order to install, configure and use Feed2tweet.

It is as easy as creating a Twitter app, then writing a feed2tweet.ini file with the following lines:

[twitter]
consumer_key=ml9jaiBnf3pmU9uIrKNIxAr3v
consumer_secret=8Cmljklzerkhfer4hlj3ljl2hfvc123rezrfsdctpokaelzerp
access_token=213416590-jgJnrJG5gz132nzerl5zerwi0ahmnwkfJFN9nr3j
access_token_secret=3janlPMqDKlunJ4Hnr90k2bnfk3jfnwkFjeriFZERj32Z

[rss]
uri: https://www.mycoolwebsite.com/rss

[hashtaglist]
several_words_hashtags_list: severalwordshashtaglist.txt

Then just launch feed2tweet:

$ feed2tweet -c /path/to/feed2tweet.ini

The first version 0.1 is now available from Github. If it helps you, Github stars are appreciated 🙂

2 thoughts on “Parse your rss feed and post to Twitter with feed2tweet

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *