Questions tagged [oauth-php]
7 questions
11
votes
2 answers
Wrong number of segments in token (OAuth Google Api)
My end goal is to send email to myself via Google Gmail API.
And here is my problem.
When i'm getting my access token an error pops up
Fatal error: Uncaught exception 'Google_Auth_Exception' with message 'Wrong number of segments in token: '
I…

Randomius
- 252
- 1
- 2
- 12
3
votes
2 answers
How to use the Yahoo! API with the oauth-php library?
I'm currently trying to use the Yahoo API directly with php. I already use the oauth-php library with some Google API and it works like a charm.
But the yahoo API don't like authorization headers which oauth-php uses. I see the PECL Oauth has an…

Arkh
- 8,416
- 40
- 45
2
votes
1 answer
Zend Framework OAuth $_GET parameters
Goal: Creating an Oauth Provider for use within a Zend Framework web application.
Process so far: Integrated the Zend Framework OAuth Client (ZF 1.12) with the Google Code OAuth classes [http://code.google.com/p/oauth/]. ZF Client for use as a…

Drew Anderson
- 534
- 3
- 14
1
vote
1 answer
How do I actually serve signed requests with oauth-php?
I am making an oauth provider and implemented everything in chapter 6 of http://oauth.net/core/1.0a/ , which is authenticating with OAuth. However, I am at a loss to how to actually serve authorized requests with the server (chapter 7).
Please point…

Jesvin Jose
- 22,498
- 32
- 109
- 202
1
vote
0 answers
Single-user PHP OAuth request using PECL
I'm trying to implement an api (The Noun Project), and they've provided this example: https://gist.github.com/hirobert/710f2e22ed803dc34cc0
I'd love to implement this using the OAuth PECL library
I'm unfortunately getting stuck, since it doesn't…

onassar
- 3,313
- 7
- 36
- 58
0
votes
1 answer
Twitter oauth parameter
I'm using abraham's twitter oauth and I cannot figure out how to get email parameter, it does not provide a list of parameters. I tried using $content->{email}; but it returns a blank array, any idea how can I get the email?

Niket Malik
- 1,075
- 1
- 14
- 23
0
votes
1 answer
POST over SSL with OAuth-PHP
I'm using the oauth-php library to do oauth calls to a remote server, but the remote server is not being passed the variables. It works fine when I connect to an http server, but not over https. I tested this with multiple servers and set up a proxy…

JustJon
- 131
- 1
- 10