› Forums › NextScripts API Forums – Google+, Pinterest, LinkedIn, etc.. › Google+ Api broken › Reply To: Google+ Api broken
March 26, 2014 at 1:37 pm #175153
CloneVince
Participant
Here is my code :
<?php
require "postToGooglePlus.php";
$email = 'myemail';
$pass = 'mypassword';
$msg = 'Test debug';
$pageID = '104783581838643492102';
$loginError = doConnectToGooglePlus2($email, $pass);
if (!$loginError)
{
$lnk = doGetGoogleUrlInfo2('');
doPostToGooglePlus2($msg, $lnk, $pageID);
} else echo $loginError;
?>