Questions tagged [omniauth-twitter]

Questions about the Ruby gem containing the Twitter strategy for OmniAuth

30 questions
0
votes
1 answer

omniauth-twitter gem not redirecting to twitter

Hello i've run into a bit of a problem with the omniauth-twitter gem, i have followed the documentation to a t and when i go to localhost:3000/auth/twitter i get a no matching route error. I've googled this issue for hours to no avail, I've searched…
SVRourke
  • 19
  • 5
0
votes
1 answer

Ruby on rails app using omniauth-twitter is not working on heroku "We're sorry, but something went wrong."

I built an app that connects to twitter through oAuth and prints out your followers. I have been trying to push it to heroku and everytime I try to login to twitter through:
  • <%= link_to 'Twitter', '/auth/twitter' %>
  • I get the "We're sorry,…
    0
    votes
    1 answer

    Authentication failure! invalid_credentials: OAuth::Unauthorized, 401 Authorization Required

    I want to create Twitter login function,but error is occured. My error is Authentication failure! invalid_credentials: OAuth::Unauthorized, 401 Authorization Required Processing by Users::OmniauthCallbacksController#failure as HTML Parameters:…
    user10358924
    0
    votes
    1 answer

    Omniauth Twitter sign up takes over existing Devise user record (if any with same username) instead of stopping the sign up with username exists error

    I'm using Devise (form) and Omniauth Twitter. My sign up form fields are: username (unique, required) email (unique, required) full name password Both sign up works fine when there is no existing record with the same username. User can sign up…
    Designer
    • 1,061
    • 1
    • 12
    • 26
    0
    votes
    1 answer

    Rails 5 Devise and OmniAuth Twitter setup redirects to sign_in form after authorising app

    I'm trying to install OmniAuth-Twitter on top of my Devise. I'm following this tutorial https://www.youtube.com/watch?v=X6tKAUOMzCs&t=42s but I'm getting an error that I can not find anywhere online. Actually it is not an error, after I Authorise…
    Designer
    • 1,061
    • 1
    • 12
    • 26
    0
    votes
    3 answers

    The action 'twitter' could not be found for Devise::OmniauthCallbacksController

    I am trying to integrate twitter with devise in my rails application. However, I get this error The action 'twitter' could not be found for Devise::OmniauthCallbacksController My routes file contains: devise_for :conrollers =>…
    0
    votes
    1 answer

    Using the omniauth-twitter gem with devise and rails 5

    I started watching Ryan Bates's tutorial on how to use Omniauth with devise (rails-cast 235 revised). I am having problems with the user.rb file. What he displays in his tutorial devise :omniauthable, # ... def self.from_omniauth(auth) …
    0
    votes
    0 answers

    I can't figure out the reason for error in Heroku log

    My Heroku Logs are pictured below. I cannot figure out what is going wrong. Please help :( Heroku Logs
    0
    votes
    1 answer

    TypeError in SessionsController#create when trying to sign in user from Twitter API using omniauth

    I am trying to allow users to sign in through Twitter but I am getting the error: Type error in SessionsController. I get this error whenever I am redirected to: https://api.twitter.com/oauth/authenticate so the user can be authenticated. I should…
    BV45
    • 605
    • 3
    • 10
    • 27
    0
    votes
    1 answer

    Custom OmniAuth Configuration Ruby on Rails

    Following this tutorial here. I'm having an issue finding any information on what I am trying to accomplish. I currently have my rails app set up with custom user authentication. Also users have a role string within the database which is used to…
    0
    votes
    1 answer

    Posting to another user's twitter account from my app

    i'm creating Rails app that will allow my Twitter Application (from my Twitter account) to post to the user's timeline. currently i have these setup app in my web app: consumer_key consumer_secret access_token access_token_secret currently, when…
    emi
    • 2,830
    • 5
    • 31
    • 53
    0
    votes
    1 answer

    Rails: Twitter Omniauth - update user attributes (user.image)

    I use the gem 'omniauth-twitter' to let my user login to my app. Then I can use their name and profile image from twitter on my app. The problem I am facing is that when a user update its name or image on twitter, it doesn't update on my app. Here…
    0
    votes
    1 answer

    Multiple Twitter applications with omniauth

    I've configured devise + omniauth as documented on omniauth wiki: https://github.com/intridea/omniauth/wiki/Setup-Phase My initializer: provider :twitter, nil, nil, setup: true routes.rb: get '/settings/auth/:provider/setup' =>…
    ngw
    • 1,222
    • 1
    • 14
    • 34
    0
    votes
    1 answer

    Rails omniauth-twitter dynamic client id and secret

    for omniuath-twiiter i want to set multiple developers accounts But i am not able set enviroment variable at run time Please Help
    0
    votes
    0 answers

    User login with omniauth on Rails and set anonymous username or alias

    I am very new to Rails and before I get deep into the building process, would like to know if anyone knows of a way (or any articles--I've been searching and can't find exactly what I'm looking for) to do the following: 1) have a user login using…
    1
    2