PHP Classes

How to post data on Google+?

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  How to post data on Google+?  >  (Un) Subscribe thread alerts  
Subject:How to post data on Google+?
Summary:How to post data on Google+?
Messages:2
Author:Vincent
Date:2013-11-09 15:54:35
Update:2013-11-09 16:58:23
 

  1. How to post data on Google+?   Reply   Report abuse  
Picture of Vincent Vincent - 2013-11-09 15:54:35
I can't figure out how to post messages, images, url, videos etc on Google+. I managed to update statuses on Facebook and LinkedIn.

This page explains how to use Google+ API: https://developers.google.com/+/api/#partial-response

I'm not sure on whicht url I need to post data and what the parameters should be.
$success = $client->CallAPI("?????", "POST", array(?????), array('FailOnAccessError' => true, 'ResponseContentType' => ''), $user);

Thank you in advance for your help.

  2. Re: How to post data on Google+?   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-11-09 16:58:23 - In reply to message 1 from Vincent
As far as I know Google+ does not allow regular applications to post in the public timeline of the users. I know there are some exceptions but you need to obtain a special permission from Google.

The best you can do is to insert new user moments. These moments are posted in the user timeline but they remain private. Then the user would need to share them publicly so the moments become visible to their users.

developers.google.com/+/api/latest/ ...