Social Networks Auto Poster {SNAP} – Universal API

Social Networks Auto Poster (SNAP) API is a universal API for the most popular social networks. SNAP API gives you an ability to make a beautifully formatted posts to the most popular social networks and CMS platforms by one simple call.

Universal Application program interface (API) to post to all major social networks

SNAP Pro - Unlimited Accounts

Universal API. Why do we need that?

Each social network and each CMS platform has it’s own API that different from one another. Right now you need to read through tons of specifications and documentation, learn how to make calls and sign or encode your requests for each network. That could take weeks and months of development time. Then when it’s done and it’s still not working, you will need to comb through forums, discussion groups, newsgroups, stackoverflow, etc. trying to figure out what you have done wrong. That will take even more time.
Well, we already done all that. We took every available API, learned how to work with it and as the result we combined then all in one universal package. You just make one simple API call and SNAP will post your message everywhere.

We actually did even more – Unique API for the platforms without built-in API

There are some networks such as Google+, Instagram, Pinterest, LinkedIn, Flipboard, Reddit, XING, etc.. that don’t have a publicly available API. We created our own APIs for such networks.

Networks where SNAP can autopost

Premium networks require any SNAP API subscription.

Social Networks

Facebook - Autopost text, image or share a link to your profile, business page, community page, or Facebook group
Google+ - Post text, image or share a link to your profile, collection, business page or community
Instagram - Upload your blogpost's image to your Instagram account.
LinkedIn - Post text, article, image or share a link to your profile, group, or company page.
ok.ru - Autopost text, image or share a link to your profile or group
Plurk - Autopost to your account. Ability to attach Image to messages
Pinterest - Post your blogpost's image to your Pinterest board.
Twitter - Autopost to your account. Ability to attach images to tweets
VK.Com - Post text, image or share a link to your profile or group page
Weibo - Biggest Chinese Microblogging Service. You can post your messages and images
XING - Post text messages, images or share links.

Blogs/Publishing Platforms

Blogger - Autopost to your blog. HTML is supported
Flipboard - Autopost to your magazines
Instapaper - Autopost to your account
LiveJournal - Auto-submit your blogpost to LiveJournal blog or community. LiveJournal engine based website DreamWidth.org is also supported
Medium - Autopost to your profile or publications
Scoop.It - Autopost to your "Topics". Ability to attach your blogpost to scoop. Ability to make "Image" posts
SETT - Auto-post to your Sett.com blog
Tumblr - Create a text post, image post, audio or video post on your Tumbler blog. HTML is supported.
WP Based Blog - Auto-submit your blogpost to another WordPress based site. Support for any standalone Wordpress and WordPress.com, Blog.com, etc..

Link Sharing/Boormarks

Diigo - Auto-submit bookmark to your account
Delicious - Auto-submit bookmark to your account
Reddit - Autopost to your subreddits
StumbleUpon - Auto-submit bookmark to your account

Email Marketing

MailChimp - One of the most popular email marketing tools. You can send your blogposts as email campaigns to specific subscribers

Messengers

Telegram - Autopost texts, images, or links to your channel, group or chat
Yo - Send notifications to your subscribers

Image Sharing

500Px - Post images to your account
deviantART (!) - Autopost to your blog. HTML is supported
Flickr - Autopost images to your photostream and/or sets. Tags are supported

Forums

vBulletin - Auto-submit your blogpost to vBulletin forums. Could create new threads or new posts

Other

YouTube - Post messages to your YouTube channel feed. Ability to attach existing YouTube videos to posts

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

Post simple text message to all your configured accounts:

<?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 
    $nxsAutoPostToSN->setMessage($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      
      // 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(
          'url'=>'https://www.nextscripts.com/snap-api/',
          'urlDescr'=>'Social Networks Auto Poster (SNAP) API', 
          'urlTitle'=>'Social Networks Auto Poster API', 
          'imageURL' => array(
            'large'=>'https://www.nextscripts.com/images/SNAP-Logo_Big_SQ.png'
          ), 
          '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 
        $nxsAutoPostToSN->setMessage($message);
        // Make the post
        $ret = $nxsAutoPostToSN->autoPost(); 
      }
    ?>

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)

<?php        
      require_once "nxs-api/nxs-api.php";
      require_once "nxs-api/nxs-http.php";
      require_once "inc/nxs-functions.php";  
      $email = 'YourEmail@gmail.com'; 
      $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 '<a target="_blank" href="'.$result['post_url'].'">New Post</a>'; 
      else 
        echo "<pre>".print_r($result, true)."</pre>";
    ?>

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 Twitter

<?php        
      require_once "nxs-api/nxs-http.php";
      require_once "inc/nxs-functions.php";  
      require_once "inc-cl/tw.api.php"; 
      $message = array();
      $message['text'] = 'Test Post';
      $message['imageURL'] = 'https://www.nextscripts.com/imgs/nextscripts.png';
      $TWoptions = array();
      $TWoptions['twURL'] = 'https://twitter.com/YourTWPage';
      $TWoptions['appKey'] = 'KEY';
      $TWoptions['appSec'] = 'SECRET';
      $TWoptions['accessToken'] = 'TOKEN';
      $TWoptions['accessTokenSec'] = 'TOKENSECRET';
      $TWoptions['attchImg'] = '1';
      $ntToPost = new nxs_class_SNAP_TW(); 
      $result = $ntToPost--->doPostToNT($TWoptions, $message);   
      
      if (!empty($result) && is_array($result) && !empty($result['postURL'])) 
        echo '<a target="_blank" href="'.$result['postURL'].'">New Post</a>'; 
      else 
        echo "<pre>".print_r($result, true)."</pre>";
    ?>

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 Facebook

<?php       
      require_once "nxs-api/nxs-http.php";
      require_once "inc/nxs-functions.php";  
      require_once "inc-cl/fb.api.php"; 
      $message = array();
      $message['text'] = 'Test Post';
      $message['imageURL'] = 'https://www.nextscripts.com/imgs/nextscripts.png';
      $message['url'] = 'https://www.nextscripts.com/snap-features/assign-categories-to-each-social-network/';
      $NToptions = array();
      $NToptions['fbURL'] = 'https://www.facebook.com/MYFBPAGE';
      $NToptions['appKey'] = 'APPID';
      $NToptions['appSec'] = 'SEC';
      $NToptions['accessToken'] = 'user_token';
      $NToptions['pageAccessToken'] = 'page_token'; //## If you are posting to a page
      $NToptions['postType'] = 'A';
      $ntToPost = new nxs_class_SNAP_FB(); 
      $result = $ntToPost--->doPostToNT($NToptions, $message);   
      
      if (!empty($result) && is_array($result) && !empty($result['postURL'])) 
        echo '<a target="_blank" href="'.$result['postURL'].'">New Post</a>'; 
      else 
        echo "<pre>".print_r($result, true)."</pre>";
    ?>

Please see more code samples and documentation

Requirements

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).
curlSSL
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.

Management Panel Screenshots (Pro Only)

Runtime

API for SNAP WordPress Plugin
$$49.95/year
  • Adds support for all premium networks to SNAP WordPress plugin
  • Post to networks without native API such as Google+, Instagram, Pinterest, LinkedIn, Flipboard, Reddit, XING
  • Not Downloadable, will work only in the SNAP WordPress plugin
  • Special Offer: Get SNAP Pro WordPress Plugin for Free

Light

Only API Library, No Management Panel
$75/Year
  • Full Source Universal API Library for more then 30 networks
  • Post to networks without native API such as Google+, Instagram, Pinterest, LinkedIn, Flipboard, Reddit, XING
  • Downloadable and can be used for plain PHP Projects
  • No management panel
  • Special Offer: Get SNAP Pro WordPress Plugin for Free

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 (https://www.nextscripts.com/affiliates/) or developers/resell packages: (https://www.nextscripts.com/developer-and-resale-licenses/)

Is it a one time payment or yearly subscription?

It depends on what you need. There are two products included:
“SNAP Pro WordPress Plugin” plugin itself is one time purchase. “SNAP Pro WordPress Plugin” will give you an ability to post to as many accounts of the same network type as you like and some premium features like random reposting and delayed autoposts. Lifetime plugin upgrades are also included with one time fee.
“SNAP Premium API Libraries” is a yearly subscription. Those libraries will give you an ability to post to networks without native API like Google+, Pinterest, YouTube, Flipboard, LinkedIn Company pages and groups, Reddit, etc.. Those libraries require constant maintenance and to keep them up to date we need a subscription.

Right now we have 2 special offers.
1. You can subscribe to “SNAP Premium API Libraries” ($49.95/year) and get “SNAP Pro WordPress Plugin” for free.
2. You can buy “SNAP Pro WordPress Plugin” for $49.95 (One time payment) and get one year of “SNAP Premium API Libraries” for free.
Basically with both options, right now for paying $49.95 you will get exactly the same thing – “Plugin + API libraries”. It’s just with one time payment option (offer #2) API will stop working after one year. You still be able to enjoy SNAP PRO Plugin for WordPress and all it’s features for as long as you like.

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: nextscripts.com/refund-policy

Please see more Frequently Asked Questions

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.