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.
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 thebase_url
inpost.rb
, so I wrote it into the database. Maybe not that elegant.