Social Networks Auto Poster
Premium API for PHP

NextScripts Premium API for PHP is a set of PHP libraries that can be used to make posts to networks that don’t have native APIs like Google+, Pinterest, Instagram, Flipboard, Reddit, Xing, etc.. or networks with limited native APIs like Facebook, Blogger or LinkedIn

What is Premium API for PHP?

NextScripts Premium API for PHP is an Application Program Interface (API) that could be used to post to Social Networks without native built-in API.

Most social networks (Facebook, Twitter, LinkedIn, Tumblr, Blogger. etc…) have built-in free native API that can be used for posting. You don’t need anything extra to post there. Just call built-in API from your code.
Some networks (Google+, Pinterest, Instagram, Flipboard, xing, etc…) don’t have native API, so we created our own APIs for such networks.
SNAP Premium API PHP Libraries Package gives you an ability to post to networks without native API.
SNAP Pro - Unlimited Accounts

What is included?

1 year of access to all available API libraries. As of now:

GoogleMyBusiness – post to Google My Business page.
Pinterest – pin images to your Pinterest Boards.
LinkedIn – post to LinkedIn Company pages and LinkedIn Groups.
Flipboard – Post to your magazine.
Reddit – post to your own subreddits.
YouTube – post messages to your YouTube channel feed. Ability to attach existing YouTube videos to posts.
XING – post to your profile, groups and company pages

More Details and Demos

Google+ API Library

Google+ API Library demo, code samples, and more details

Instagram API Library

Instagram API Library demo, code samples, and more details

Pinterest API Library

Pinterest API Library demo, code samples, and more details

How to use it – Let’s see some code:

You can also just post directly to individual networks. You can do it even without settings array. Here is the example of how to post a simple message to your Google Plus Business Page Stream: (more examples of using it with Google+ only are here: Google+ Automated Posting)
require_once “nxs-api/nxs-api.php”;
require_once “nxs-api/nxs-http.php”;
require_once “inc/nxs-functions.php”;
$email = ‘’;
$pass = ‘YourPassword’;
$pageID = ‘109888164682746252347’;
$msg = ‘Post this to Google Plus!’;
$nt = new nxsAPI_GP();
$loginError = $nt—>connect($email, $pass);
if (!$loginError)
$result = $nt -> postGP($msg, ”, $pageID);
else echo $loginError;

if (!empty($result) && is_array($result) && !empty($result[‘post_url’]))
echo ‘New Post‘;
echo “

".print_r($result, true)."


Post simple text message to all your configured accounts:
[php] <?php

// First, let’s get settings.
$fileData = file_get_contents(dirname(__FILE__).’/nx-snap-settings.txt’);
$snapOptions = maybe_unserialize($fileData);

if (class_exists(“cl_nxsAutoPostToSN”)) {
// Initialize the class
$nxsAutoPostToSN = new cl_nxsAutoPostToSN($snapOptions);
// Message array contains the post
$message = array(
‘title’=–>’Social Networks Auto Poster (SNAP) API’,
‘text’=>’Social Networks Auto Poster (SNAP) API is a universal API for the most popular social networks’,
// Set message
// Make the post
$ret = $nxsAutoPostToSN->autoPost();

Post a text message with attached link and specific image ONLY to the first and third Twitter accounts and to the first Facebook account

[php] <?php
// First, let’s get settings.
$fileData = file_get_contents(dirname(__FILE__).’/nx-snap-settings.txt’);
$snapOptions = maybe_unserialize($fileData);
$postOnlyTo = array(‘tw’=–>array(0, 2), ‘fb’=>array(0));

if (class_exists(“cl_nxsAutoPostToSN”)) {
// Initialize the class
$nxsAutoPostToSN = new cl_nxsAutoPostToSN($snapOptions, $postOnlyTo);
// Message array contains the post
$message = array(
‘urlDescr’=>’Social Networks Auto Poster (SNAP) API’,
‘urlTitle’=>’Social Networks Auto Poster API’,
‘imageURL’ => array(
‘title’=>’Social Networks Auto Poster (SNAP) API’,
‘text’=>’Social Networks Auto Poster (SNAP) API is a universal API for the most popular social networks’,
// Set message
// Make the post
$ret = $nxsAutoPostToSN->autoPost();

Please see more code samples and documentation


PHP Ver > 5.2 (PHP 7 or 7.1 is recommended)
PHP should have at least 32M of memory (64M and more is highly recommended).
gzip and mbstring are not required but will make things work faster.

Most Popular Question

Can this product read my posts from my database?
Can this product save/read my settings from my database?
Can it post to multiple accounts simultaneously?
Can I set the delay?
Can I set a schedule to automatically repost my messages?

This product is an API. Simply API is a “black box” that you provide with the destination, credentials and message. API will post this message to your destination using your credentials. That’s it, nothing more, nothing less.
You can call it as many times as you like with different destination and credentials ad it will post to different accounts or pages. It’s up you if you would like to save login or not and where you do that. It doesn’t read your messages from the DB, it does not schedule posts or re-posts, it does not do any other functionality. API is a library that you can wrap your own code around.
Our WordPress plugin is a very good example of kind of code could be written around the API.

Don’t want a subscription? Interested in discounts for multiyear pre-payments? Not sure what exactly do you need? Please use the advanced product ordering page.

Frequently Asked Questions

Can I use it on multiple sites?

Our licenses are issued on "Per User" basis. It means you can use one license on all your sites, but you can't give it to other people. You can use Plugin and API libraries on all your sites/blogs, the only requirement is that all those sites/blogs must be yours. You can’t re-sell or re-distribute the “Pro” Plugin and API libraries or websites with per-installed “Pro” Plugin and API libraries, neither you can’t install plugin and API libraries for your clients. If you would like to install SNAP to your clients, you need to purchase a separate license for each one of them.

If you are interested in re-selling plugin or would like to install it for your clients you can look at our affiliate program ( or developers/resell packages: (

Is it safe to use?

Is it safe to use? Will my social networks accounts be suspended if I autopost? Is it some kind of Blackhat SEO tool? Can I use it for mass postings?

SNAP is not a spam tool. SNAP is not a Blackhat SEO tool. SNAP is not a tool for bypassing any rules of the site where you are autoposting. You need to follow all terms and guidelines of any site or social network you are working with.
None of the networks we support suspend accounts simply based on the fact that you are autoposting there. Do not post spam or content that is not allowed, do not post more posts then allowed, do not abuse the network in any other way and it will be fine.
If you account got suspended for abuse/spam or any other reasons, please contact the social network directly, we can’t explain why that happened.

What is your refund policy?

Refund policy is here:

What Our Customers Are Saying

Don’t just take it from us, let our customers do the talking!

SNAP is just great. Have it installed for over a year and no complaints so far. I use it to post to Facebook, Twitter and Google+. There are are many customization options. The paid version is also well worth the money.
Excellent plugin

NextScripts: Social Networks Auto-Poster puts all other auto-posters to shame, this is a excellent professional product.
To get the full benefits though you do need to buy the pro version otherwise it will get very frustrating knowing what you could do but can’t but it is not overly expensive.
This plugin is a game changer

This is the most useful plugin out there. Not so easy to config, but does it’s job perfectly. So good for SEO and driving traffic.
The Best Social Posting Plugin for WordPress

Get SNAP Now

SNAP Plugin for WordPress is free to install and use.