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 7886167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:15:04+00:00 2026-06-03T05:15:04+00:00

Redirects to G+ profiles require https://plus.google.com/<\profile_id>/posts format. My problem is that I haven’t found

  • 0

Redirects to G+ profiles require “https://plus.google.com/&lt;\profile_id>/posts” format. My problem is that I haven’t found the solution on how to get the profile_id dynamically for users of the site. It is not fetched by my current implementation of the django-social-auth (not saved in databases), and the UID field for google-oauth2 accounts records save the google email, maybe if I can find an implementation of how to redirect to a G+ profile using email, it would be fine (though some sources say it is not currently possible).

  • 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-06-03T05:15:05+00:00Added an answer on June 3, 2026 at 5:15 am

    There is no way to use the Google+ API to determine the profile ID of a user from their email address.

    However, if you’re able to send the user through an OAuth 2.0 flow, you can determine their profile ID using the REST API’s people get method. If you’re using Google’s API Python client library, the code would look something like this:

    import apiclient.discovery
    import httplib2
    
    flow = OAuth2WebServerFlow(
        client_id=client_id,
        client_secret=client_secret,
        scope='https://www.googleapis.com/auth/plus.me',
        user_agent='google-api-client-python-plus-cmdline/1.0',
        xoauth_displayname='Google Plus Client Example App'
        )
    credentials_file = 'plus_auth.dat'
    storage = Storage(credentials_file)
    credentials = run(flow, storage)
    
    http = credentials.authorize(http)
    service = apiclient.discovery.build('plus', 'v1', http=http, developerKey=api_key)
    people_resource = service.people()    
    people_document = people_resource.get(userId='me').execute()
    
    print "ID: " + people_document['id']
    

    You can also find a more complete example in the Google+ Python starter app

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

Sidebar

Related Questions

I have a webpage that redirects to another webpage like this: http://www.myOtherServer.com/Sponsor.php?RedirectPage=http://mylink.com/whereIwasgoingtogo.html Then the
I have code that redirects visitor to login -page via authentication provider selector -page
Does flash.security.allowDomain(*) allow for redirects? The reason why I ask is that I'm trying
I have a small application that redirects the stdout/in of an another app (usually
I am writing a wordpress plugin that redirects the user. for some reason, wp_redirect
I'm unit testing a google app engine app that uses the login setting in
I have a link http://mysite.com/username which redirects to profile page of current username.. My
Flash Player 10 specifies: Redirects to policy files outside the originally requested domain will
Python's urllib2 follows 3xx redirects to get the final content. Is there a way
Instead of automatically following JavaScript redirects, can I force HtmlUnit to return the URL

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.