php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
30 - 22 = ?
Subscribe to this entry?

 
 [2009-04-22 22:14 UTC] iamscrumpyjack at gmail dot com
Description:
------------
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('https://www.google.com/accounts/OAuthGetRequestToken');

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)'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-23 01:19 UTC] rasmus@php.net
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] jawed@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC