?
avatar haydenyoung
haydenyoung
19 Nov 2015

Steps to reproduce the issue

Use the JTwitterOAuth and JTwitter libs to set up a connection to Twitter then execute a search.

    $oauth = new JTwitterOAuth();
    $oauth->setOption('consumer_key', $consumerKey);
    $oauth->setOption('consumer_secret', $consumerSecret);

    $token = array('key'=>$key, 'secret'=>$secret);

    $oauth->setToken($token);

    $twitter = new JTwitter($oauth);

Pass a search query parameter with a space, # or @.

Expected result

The Twitter REST API should return a list of search results.

Actual result

Exception:

exception 'DomainException' with message 'Could not authenticate you.' in /home/haydenyoung/html/tweettrack/libraries/joomla/twitter/oauth.php:128

is thrown.

System information (as much as possible)

Additional comments

avatar haydenyoung haydenyoung - open - 19 Nov 2015
avatar haydenyoung haydenyoung - change - 19 Nov 2015
The description was changed
avatar haydenyoung haydenyoung - change - 19 Nov 2015
Title
Joomla OAuth library not authenticating via Twitter with "Could not authenticate you" error
Joomla OAuth library not authenticating via Twitter with "Could not authenticate you" error when special characters are used
avatar haydenyoung haydenyoung - change - 19 Nov 2015
The description was changed
Title
Joomla OAuth library not authenticating via Twitter with "Could not authenticate you" error
Joomla OAuth library not authenticating via Twitter with "Could not authenticate you" error when special characters are used
avatar haydenyoung
haydenyoung - comment - 23 Nov 2015

This is a duplicate of #8503


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8501.

avatar zero-24 zero-24 - change - 25 Nov 2015
Category Libraries
avatar brianteeman brianteeman - change - 27 Jan 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-01-27 10:03:01
Closed_By brianteeman
avatar brianteeman brianteeman - close - 27 Jan 2016

Add a Comment

Login with GitHub to post a comment