Redirects to G+ profiles require “https://plus.google.com/<\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).
Redirects to G+ profiles require https://plus.google.com/<\profile_id>/posts format. My problem is that I haven’t found
Share
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:
You can also find a more complete example in the Google+ Python starter app