Google Plus Automated Posting
You have a site or blog and you already posting your updates to Facebook and Twitter, but what about Google Plus? Users of the newest Social Network aiming to be on the top are still lacking information about your updates. Google Plus API is still read only, so there were no way to sync your updates around all networks including Google Plus. Now it is. Google Plus Automated Posting script from “Next Scripts” is capable of automatically submitting posts from your site directly to your Google Plus account.
NextScripts Google+ API allows you to post simple text messages, “attach” links to text messages with preview text and picture as well as make “Image posts”.
NextScripts Google+ API can post to:
![]() |
Google+ Profiles |
![]() |
Google+ Business Pages |
![]() |
Google+ Communities |
Also get a WordPress Plugin that will automatically publish all your posts to Google Plus.
Google Plus Automated Posting Demo
Include linked image Include linked URL
Screenshots/Examples
Usage
The script is very easy to use.
Examples:
Please note, those examples are for using APIs directly from PHP. if you are looking for auto-posting from WordPress to Google+ you just need the API library and WordPress plugin.
1. Post simple text message to your Google Plus Profile Stream:
<?php
require "postToGooglePlus.php";
$email = 'YourEmail@gmail.com';
$pass = 'YourPassword';
$msg = 'Post this to Google Plus!';
$loginError = doConnectToGooglePlus2($email, $pass);
if (!$loginError)
{
doPostToGooglePlus2($msg);
}
else echo $loginError;
?>
1. Post simple message to your Google Plus Business Page Stream:
<?php
require "postToGooglePlus.php";
$email = 'YourEmail@gmail.com';
$pass = 'YourPassword';
$msg = 'Post this to Google Plus!';
$pageID = '104935301886129712427'; // Your Business Page ID
$loginError = doConnectToGooglePlus2($email, $pass);
if (!$loginError)
{
doPostToGooglePlus2($msg, '', $pageID);
}
else echo $loginError;
?>
3. Post message with attached URL to your Google Plus Business Page Stream:
<?php
require "postToGooglePlus.php";
$email = 'YourEmail@gmail.com';
$pass = 'YourPassword';
$msg = 'Post this to Google Plus!';
$pageID = '104935301886129712427';
$loginError = doConnectToGooglePlus2($email, $pass);
if (!$loginError)
{
$lnk = doGetGoogleUrlInfo2('http://www.nextscripts.com/');
doPostToGooglePlus2($msg, $lnk, $pageID);
}
else echo $loginError;
?>
4. Post Image with a message to your Google Plus Profile Stream:
<?php
require "postToGooglePlus.php";
$email = 'YourEmail@gmail.com';
$pass = 'YourPassword';
$msg = 'Post this to Google Plus!';
$loginError = doConnectToGooglePlus2($email, $pass);
if (!$loginError)
{
// Image URL
$lnk = array('img'=>'http://www.nextscripts.com/imgs/nextscripts.png');
doPostToGooglePlus2($msg, $lnk, $pageID);
}
else echo $loginError;
?>
5. Import RSS to Google Plus!
<?php
require "postToGooglePlus.php";
$email = 'YourEmail@gmail.com';
$pass = 'YourPassword';
$url = 'http://www.YorWebSite.com/rss.xml';
$loginError = doConnectToGooglePlus2($email, $pass);
if (!$loginError)
{
$doc = new DOMdocument();
$doc->load($url);
$rss_array = array();
$items = array();
$tag = 'item';
foreach($doc->getElementsByTagName($tag) AS $node)
{
$link = $node->getElementsByTagName('link')->item(0)->nodeValue;
$title = $node->getElementsByTagName('title')->item(0)->nodeValue;
$msg = '<a href="'.$link.'">'.$title.'</a><br/>';
$msg .= $node->getElementsByTagName('description')->item(0)->nodeValue;
doPostToGooglePlus2($msg);
}
} else echo $loginError;
?>
6. New in 2.5 Post to the community
<?php
require "postToGooglePlus.php";
$email = 'YourEmail@gmail.com';
$pass = 'YourPassword';
$msg = 'Post this to Google Plus Community!';
$commID = '104935301886129712427';
$loginError = doConnectToGooglePlus2($email, $pass);
if (!$loginError)
{
$lnk = doGetGoogleUrlInfo2('http://www.nextscripts.com/');
doPostToGooglePlus2($msg, $lnk, '', $commID);
}
else echo $loginError;
?>
Requirements
PHP5, cURL with OpenSSL, WordPress if you would like to use plugin.
Blogger
NextScripts Blogger API and more stable and has more features then standard Blogger API. For example standard Blogger API cuts embedded videos from he posts. NextScripts Blogger API has no such limitations. Blogger support is included since version 2.0 You can use doConnectToBlogger() and doPostToBlogger() functions.YouTube
You can make autoposts to your YouTube feed. (example – http://www.youtube.com/nextscripts) You can use doPostToYouTube() function.Get It
- Google Plus Automated Posting Script ($49)
- Pinterest Automated Posting Script ($49)
The all-in-one package also includes Blogger Advanced Autoposting, YouTube Autoposting, LinkedIn Company Pages Autoposting, VK.COM Advanced Autoposting (adds nice Link Attachments). Lifetime upgrades are also included.
** Google Wallet users: Google takes it's time to process order. It could take from 10 minutes to 6 hours. You will get the email from us and from Google Wallet once your order is complete and your account and download links are ready.
What to do after the order?
Please see the "Upgrade/Activation" instructionsVersion history
- [New] – YouTube support
Version 2.6.30 – Apr 16, 2013
- [New] – Communities posting.
Version 2.4.5 – Jan 8, 2013
- [New] – Bug fixes and stability improvements.
Version 2.3.0 – Oct 10, 2012
- [New] – Image posting.
Version 2.0.9 – Sept 06, 2012
- [Improvement] – Better SSL handling.
Version 2.0.8 – Sept 06, 2012
- [BugFix] – Fixed “quotes” characters. {Broken by Google}
Version 2.0.7 – Aug 31, 2012
- [BugFix] – Fixed publishing of new lines in messages
Version 2.0.2 – Aug 16, 2012
- [BugFix] – Update to the latest Google+ release
Version 2.0.1 – May 18, 2012
- [Change] – Cookie files are mo longer required
Version 1.2.1 – Feb 28, 2012
- [BugFix] – Incorrect line break handling.
- [WP Plugin] – New Setting – Optional message to Announce Post.
Version 1.2.0 – Feb 27, 2012
- [Added] Ability to post/attach linked URLs- [Added] Ability to post/attach linked images
- [WP Plugin] Changed Settings Screen
Version 1.0.1 – Feb 20, 2012
- [BugFix] – Correct login – Incorrect page access.
Version 1.0.0 – Feb 01, 2012
- Initial Release











