Questions tagged [google-plus-domains]
43 questions
13
votes
2 answers
How to create a instance of UserCredential if I already have the value of Access Token?
So I have this code
My question is how do I configure the UserCredential if I'm already authenticated via OAuth?
The current scenario is the code will display another login page redirecting to google. Since I'm already authenticated via OAuth using…

Prince Jea
- 5,524
- 7
- 28
- 46
3
votes
2 answers
How to post to Google+?
I want to make some application (Google App Engine) which will be fetching some data from other websites and post them in one of my "collections" in Google+.
For now I have this code:
main.py
# -*- coding: utf-8 -*-
import webapp2
import…

BPS
- 1,133
- 1
- 17
- 38
3
votes
1 answer
set type in creating post using google plus domain API
With my code, i can create a post on my profile, but it always show on my profile "share with domain" although i want it's "public". Please help me, thank you so much.
here my code:
$redirect_uri = 'http://' . $_SERVER['HTTP_HOST']…

Nam Nguyen
- 31
- 5
3
votes
1 answer
Is it possible to use Google Cloud Endpoints built in authentication with Google+ Domains API?
Google Cloud Endpoints has it's own authentication process in which the backend endpoint method is simply passed a com.google.appengine.api.users.User object.
https://cloud.google.com/appengine/docs/java/endpoints/auth
The Google+ Domains API…

Marc M.
- 3,631
- 4
- 32
- 53
2
votes
0 answers
Google+ Domains API attach several photos to Activity
I use Google+ Domains API for creating posts via GSuite accounts.
Before create a post all photos should be uploaded to the cloud. I use this function
Media mediaDescription = new Media();
PlusDomains.Media.Insert insertRequest =…

Oleksandr Kachechka
- 41
- 3
2
votes
1 answer
Google plus share not working with 'gmail' domain
I am new in laravel 5.2. When I am trying to share a content into google plus, it shares only to an email rather than to 'gmail' as domain.
For example it will share to example@domain.com but not to example@gmail.com.
Code in Context
public…

Renny M. Roy
- 178
- 10
2
votes
0 answers
google-api-nodejs-client: how to call google+ domain api locally? (by the plusDomains.media.insert)
I am going to use the Nodejs google api client(google-api-nodejs-client) to post a photo to my google+. (I have listed all my code at end of this post.)
Let me introduce a little bit background:
I have created a project on:…

peter
- 21
- 4
2
votes
0 answers
Programmatically add people to Circle using Google Plus Domain API?
I try to adding people to circle by this code:
$this->google = new \Google_Service_PlusDomains($this->client);
......
$this->google->circles->addPeople(
$circleId, ['userId' => $userId]
);
I get the error:
Error calling PUT…

Joshua Hansen
- 405
- 1
- 8
- 21
1
vote
1 answer
Php Google plus domain api delete post and comment
I am working in a project where i am showing Google plus user posts using php Google Plus Api Sdk.
I have a problem.
How to insert post and comments?
How to delete post and comments?
Please Help me.
Thank you

Ashish Nishad
- 41
- 9
1
vote
1 answer
Google+ Domains API - You do not have permission to execute this method.
Enabled Google+ Domains API.
Added Restrictions URL.
But still when i try this API from google api-explorer and python code both the result is throwing this error.
403
- Show headers -
{
"error": {
"errors": [
{
"domain": "global",
…

bala.alab
- 66
- 4
1
vote
0 answers
Google + Domain error when I try to post an activity
I've been developing a feature for an extension in TYPO3 to post activities to a Google Plus domain profile.
I use the following code to instantiate the Google Client
$googleClient = new Google_Client();
…

César Dueñas
- 331
- 4
- 18
1
vote
1 answer
How to get people interests from Google +?
I am trying to get user profile information such as people in circles, interest, feeds, plusoners and reshares.
I tried during a lot of time and it was imposible to me getting interest and people in circles.
In Google Domains API there is a way to…
1
vote
0 answers
post on google plus can't post on Google+ with image or video attachment single or multiple
I am posting on google plus account but I can post only post text. How can I post images or videos?
This is my code so far:
$service = new Google_Service_PlusDomains($client);
$activity = new Google_Service_PlusDomains_Activity(
array(
…

Mahesh Vora
- 91
- 11
1
vote
1 answer
Posting on google profile to any user in php
I want to posting on google plus account to any user who authenticate my app i have already create G-Suite account and i can also post on google plus account but i can not post on other user account who already done app authentication i want the…

Mahesh Vora
- 91
- 11
1
vote
0 answers
plusDomains.activities.insert response always 403 access forbidden
I give all permission like read, write,login. But i get always response:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "forbidden",
"message": "Forbidden"
}
],
"code": 403,
"message": "Forbidden"
}
}

test chik
- 11
- 1