Before going through this post . I would suggest you to go through my previous FB share post. You will get to know the basic functionality & working from the prev post .After that please go through Twitter gem description.
I hope you have gone through the prev post and you have got some idea about it.
Now we will start with Twitter share implementation.You have to include "twitter" & "oauth" gems into your Gemfile.
gem 'twitter'
gem 'oauth'
Compared to FB share , here we need to include "Oauth" gem for authenticating the user to twitter and redirect the user back to your applications Callback action.After getting the Oauth Secret Key i.e returning from Twitter you can configure the Twitter gem settings and you can post to twitter from your Rails app.
I hope you have gone through the prev post and you have got some idea about it.
Now we will start with Twitter share implementation.You have to include "twitter" & "oauth" gems into your Gemfile.
gem 'twitter'
gem 'oauth'
Compared to FB share , here we need to include "Oauth" gem for authenticating the user to twitter and redirect the user back to your applications Callback action.After getting the Oauth Secret Key i.e returning from Twitter you can configure the Twitter gem settings and you can post to twitter from your Rails app.