Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 979759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:16:09+00:00 2026-05-16T04:16:09+00:00

Hope this doesn’t get too complicated. :) thing is.. I’m trying to make my

  • 0

Hope this doesn’t get too complicated. 🙂 thing is..

I’m trying to make my PHP code post notes to Google Buzz using OAuth as authentication mechanism. I’m doing the typical “OAuth dance” (get request token, authorise it, exchange for access token), but i’ve ran into some problems that seem to be on Google’s side. Hope i’m wrong – it would be much easier to fix. 🙂

To get to the point – oauth_callback parameter doesn’t seem to get passed to the authorization form. Authorization URI i’m redirecting to is like:

https://www.google.com/buzz/api/auth/OAuthAuthorizeToken
?domain=<my.domain>
&scope=<urlencode(https://www.googleapis.com/auth/buzz)>
&oauth_token=<request_token>
&oauth_callback=<my.domain/callback>

When redirected, client is asked to authorize site to read/write from/to Buzz. If accepted, Google asks again (but in different form) to allow access to .. after allowing for second time, success message is shown, but it doesn’t return any tokens to my site, not redirecting to oauth_callback uri.

Workaround i found is to manually add form field ‘oauth_callback=’ trough firebug/chrome inspector, and then, after these two confirmations it redirects to my site and i can extract authorized token from response, and exchange it for access token. If i use ‘standard’ Google’s authorization endpoint, i get redirected correctly (one confirmation only), but then the access token i get after that is invalid for Buzz.

So, am i wrong or google?! 😀 I’ve implemented OAuth for cooperation with some other services (Facebook, MySpace..) but i’ve never had this much trouble.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T04:16:10+00:00Added an answer on May 16, 2026 at 4:16 am

    ok, when i got on the problem next morning, with (partially) fresh eyes, solution was pretty easy (but still undocumented).. 🙂 in case anybody else needs answer – oauth_callback parameter should be specified when requesting request token.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

(Hope this doesn't get duplicated; second attempt at submitting this question) I'm working on
I hope this question is not considered too basic for this forum, but we'll
I hope this question is not a RTFM one. I am trying to write
I'm relatively new to web application programming so I hope this question isn't too
I hope this doesn't come across as a stupid question but its something I
first I want to say that I hope this doesn't look like I am
i hope this question is not too simple, but i have no idea :(
I hope this question does not come off as broad as it may seem
I hope this is programmer-related question. I'm in the hobby business of C# programming.
I hope this isn't considered a duplicate since it's more pointed than similar questions

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.