So I have the google + partners program, and I'm using the php library to get the activities but I don't see a POST available for the SDK
https://www.googleapis.com/upload/plusPages/v2/people/userId/activities
So this works fine:
$activities = $plus->activities->get('me', 'public', $optParams);
but how do i insert using the api?
Yes, I do have the google+ partners program so I can post
There is no insert method defined in the API itself, so there is no way the SDK could allow you to do so.
From API docs in
https://developers.google.com/apis-explorer/?#s/plus/v1/
and
https://developers.google.com/+/web/api/rest/latest/
We can tell it is a read only API - with just get, list and search methods. So I guess your question has no good answer - apart from: It is not possible.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With