Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9180137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:58:19+00:00 2026-06-17T17:58:19+00:00

I am using devise and looking to post to twitter using twitter gem but

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:58:21+00:00Added an answer on June 17, 2026 at 5:58 pm

    No you don’t need Omniauth gem, only twitter is enough

    This is what I did

    Gemfile

    gem 'twitter'
    

    create your app
    from this url, and make sure you give your app the POST, permission

    config/initializers/twitter.rb

    Twitter.configure do |config|
      config.consumer_key = ""
      config.consumer_secret = ""
      config.oauth_token = ""
      config.oauth_token_secret = ""
    end
    

    then call it as

    Twitter.update("I'm tweeting with @gem!")
    

    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

    bitly = Bitly.new("key", "key")
    shorten_url = bitly.shorten("http://skylinelive.com")
    

    HTH

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using devise and create login with Facebook using omniauth, but having problem
I am using Devise gem and I want to change the redirect path after
I'm using Devise and Can-Can for my community blog and currently looking for a
Using Devise, I know how to protect controller actions from non-signed-in users through: before_filter
My Rails 3 app is using Devise and I noticed that my users table
I'm using devise for authentication and I'm looking for an authorization framework that lets
Using devise 2.1.0 I am trying to send the new registration page a PricingPlan
I'm using devise 2.1.0. On dev, things are great. I just tried doing a
I am using devise 2.1.0 for my rails app 3.2.3. Here is what I
I have been using devise for authentication and cancan for authorization in my application.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.