|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58644 Can't make a successful OAuth request
Submitted: 2009-04-22 22:14 UTC Modified: 2009-04-23 04:12 UTC
From: iamscrumpyjack at gmail dot com Assigned:
Status: Not a bug Package: oauth (PECL)
PHP Version: 5.2.6 OS: Mac OS X 10.5.6
Private report: No CVE-ID: None
 [2009-04-22 22:14 UTC] iamscrumpyjack at gmail dot com
I have downloaded the package and built it from source using 
phpize ./configure etc as it wouldn't build correctly using 
pecl install oauth-beta...

When running getRequestToken I keep getting "making the 
request failed (URL using bad/illegal format or missing URL)" 
but mu URL is valid and contains no bad characters

Reproduce code:
$oauth = new OAuth (MY_OAUTH_KEY, MY_OAUTH_SECRET);
$request_token_info = $oauth->getRequestToken('');

Expected result:
I expect the a request token that I can use later

Actual result:
Fatal error: Uncaught exception 'OAuthException' with message 
'making the request failed (URL using bad/illegal format or 
missing URL)'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-23 01:19 UTC]
OAuth token requests are currently disabled by all major providers while we work out a security issue in the OAuth protocol itself.  This is not a PHP bug.  Give it a couple of days and try again (probably with an updated version of the OAuth extension)
 [2009-04-23 01:36 UTC]
Besides that, I can pecl install oauth-beta just fine too.
 [2009-04-23 04:12 UTC] iamscrumpyjack at gmail dot com
Ok, just my bad timing... It's weird how many times I try to 
do something for the first time and then find that the 
Internet is broken! Must be me...

Regarding the pecl install problem I think that is because I 
am running on a 64-bit setup of PHP. Don't know how to make 
pecl install build extensions in 64-bit yet
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon May 29 19:03:42 2023 UTC