hmans / schnitzelpress

A lean, mean blogging machine for hackers and fools.
http://schnitzelpress.org
MIT License
77 stars 8 forks source link

Automated Twitter messages on new posts #42

Open ghost opened 12 years ago

ghost commented 12 years ago
field :twitter_consumer_key, :type => String, :default => ""
field :twitter_consumer_secret, :type => String, :default => ""

in config.rb has to be set before deployment. Key and Secret can be obtained from https://dev.twitter.com/

Only onsolved issue: Twitter says, consumer_secret should not be human readable. Oh, and I wasn't able to get the base_url in post.rb, so I wrote it into the database. Maybe not that elegant.