I am using devise and looking to post to twitter using “twitter” gem but I am little confused, do I also need omniauth gem too ? Do I need to configure omniauth with devise (I am using it for users) first before I can use “twitter” gem so users can post tweets
EDIT – btw, it is the users which will be sending tweets to their respective tweeter accounts
Thanks
No you don’t need Omniauth gem, only twitter is enough
This is what I did
Gemfile
create your app
from this url, and make sure you give your app the POST, permission
config/initializers/twitter.rb
then call it as
on a side note, if you have any url to be shorten use bitly
go to bitly and grab your access token
Gem file
gem ‘bitly’
and call it as
HTH