Created
February 18, 2013 15:43
-
-
Save abutler3/4978306 to your computer and use it in GitHub Desktop.
Getting a Bad Authentication data error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Failure/Error: click_button 'Search' | |
# Twitter::Error::BadRequest: | |
# Bad Authentication data | |
# searches_controller.rb | |
class SearchesController < ApplicationController | |
def create | |
redirect_to search_path(params[:twitter][:search]) | |
end | |
def show | |
@tweets = Twitter.search("##{params[:id]}").results | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment