mardi 1 septembre 2015

Configure Twitter app in rails for multiple users

I want to make a twitter Application in rails and configure it for multiple users. But I'm unsure what I have to do in the configuration. My configuration code in twitter controller is

Twitter::REST::Client.new do |config|
config.consumer_key = 'xxxxxxx'
config.consumer_secret = 'xxxxxxx'
config.oauth_token = 'xxxxxx'
config.oauth_token_secret = 'xxxxxxxxx'
end

Aucun commentaire:

Enregistrer un commentaire