SMAP for Wordpress

Getting Started

Welcome

We thank you for your business and hope you enjoy the fruits of our labor. Our products are not only developed by us but are also used in all of our projects so you can rest assured we test our products thoroughly under various conditions to ensure you receive a quality product. If however your environment experiences any type of issue with our products please feel free to visit our forum or email us at support@geshu.com

Thank you,
The Geshu.com Team

Are you ready to shoot your Social Media Content into the viral stratosphere?

In order to use this Plugin you will need to complete 7 simple steps

  • Install the Plugin
  • Create a Twitter app
  • Create a Facebook app
  • Create a Google URL Shortener APi Key
  • Configure the Plugin with your Twitter/Facebook/Google info
  • Add your accounts to the Plugin and configure the content types ot be posted
  • configure cronjobs to run on each account

Features

  • Auto post any or all content to multiple social media channels (currently twitter, linkedin, instagram and facebook).

Support


 


Installation

Upload and Enable the Plugin

Upload

There are 2 methods for installing the wordpress plugin

  • Use the wordpress plugin Upload/install method in the administration section
  • Upload the Social Media Content Poster (SMAP) folder to you wp-content/plugins folder

Method 1

  • Navigate to your admin add new plugin section
    /wp-admin/plugin-install.php
  • Click upload, locate the zip folder you downloaded for SMAP and upload the zipped folder
  • After Wordpress uploads and installs the plugin you can click on the link to activate it.
  • You will then see in your admin section the new Social Autoposter section appear in the left admin navigation

Method 2
Upload the “SMAP” folder to your

/wp-content/plugins
folder.
  • Connect to your websites FTP
  • Navigate to the folder wp-content/plugins
  • Upload the entire social-auto-post folder and all of its contents into the plugins folder. You should then see wp-content/plugins/social-auto-post in your ftp program

enable

Enable the Plugin in your websites admin section

  • In the Wordpress admin section navigate to
    your-sitename/wp-admin/wp-plugins.php
  • Locate the Plugin named Social Auto Poster within the Plugins section and check the box to enable the Social Media Content Poster Plugin
  • Click apply to enable the Plugin

After installation is completed you should see a new tab in your Admin navigation bar called “Social Auto Poster”. If you do not see this just refresh the page to ensure the system is showing the most up to date version of your navigation bar


Create your twitter App

In order to share content via twitter you need to create a twitter app.

  • Visit
    https://dev.twitter.com/apps
    and sign in (if you are not already signed into twitter
  • Click Create new App

Fill out the app name, description, your website URL and the callback url.
Note: for the Callback URL copy it from the Social Auto Poster config section. You can reach the SMAP Config Section via your site domain followed by

wp-admin/admin.php?page=socialautopost
As an example
https://www.exampledomain.com/wp-admin/admin.php?page=socialautopost

Congratulations you created a Twitter App

The resulting page will show the overview of your Twitter app with 4 tabs (Details, Settings, Keys   Access Tokens, Permissions). Click on Keys   Access Tokens as shown in the screenshot. You need to add these to the SMAP Plugins configuration.


Configure the SMAP Plugin twitter settings

  • Visit Social Auto Poster configuration page

In your Admin navigation bar you click “SMAP” (the Plugin is also reachable via

https://Your-Site-Name/wp-admin/admin.php?page=socialautopost

  • Connect Social Auto Poster with twitter App

Under the settings tab of the Plugin Check the "Enable" box and enter in the Twitter App Key/Secret and click Submit to save these settings


Create your facebook App

In order to share via facebook you need to create a facebook app.


Configure the Social Auto Poster plugin facebook settings

  • Visit Social Auto Poster configuration page

In your Admin navigation bar you click “Social Auto Poster” (the Plugin is also reachable via

https://Your-Site-Name/wp-admin/admin.php?page=socialautopost

  • Connect Social Auto Poster with facebook App

Under the settings tab of the Plugin Check the "Enable" box and enter in the Facebook App ID/Secret.


Create your Linkedin App

In order to share via Linkedin you need to create a LInkedin app.

  • Visit linkedin's developer website
    https://www.linkedin.com/developer/apps
    and sign in (if you are not already signed into Linkedin)
  • Click Create new App

Fill out the app name, description, app logo, application use, your website URL, Business Email, Business phone number, check the agreement box and submit the application.

After the form is submitted you will need to edit the Linkedin App settings and add the callback url as well as check any additional permissions (for example Company page admin permissions) that oyu need for posting content to your linkedin profile or company profile pages.
Note: for the Callback URL copy it from the Social Auto Poster Linkedin config section. You can reach the SMAP Config Section via your site domain followed by

wp-admin/admin.php?page=socialautopost
As an example
https://www.exampledomain.com/wp-admin/admin.php?page=socialautopost


Configure the Social Auto Poster plugin Linkedin settings

  • Visit Social Auto Poster configuration page

In your Admin navigation bar you click “Social Auto Poster” (the Plugin is also reachable via

https://Your-Site-Name/wp-admin/admin.php?page=socialautopost

  • Connect Social Auto Poster with Linkedin App

Under the settings tab of the Plugin Check the "Enable" box and enter in the Linkedin App ID/Secret.


Create your Instagram App

In order to ashare via Instagram you need to create a Instagram app.

  • Visit Instagrams's developer website
    https://www.instagram.com/developer/
    and sign in (if you are not already signed into Instagram)
  • Click Create new App

Fill out the app form details including the callback url and submit the application.

Note: for the Callback URL copy it from the Social Auto Poster Instagram config section. You can reach the SMAP Config Section via your site domain followed by
wp-admin/admin.php?page=socialautopost
As an example
https://www.exampledomain.com/wp-admin/admin.php?page=socialautopost


Configure the Social Auto Poster plugin Instagram settings

  • Visit Social Auto Poster configuration page

In your Admin navigation bar you click “Social Auto Poster” (the Plugin is also reachable via

https://Your-Site-Name/wp-admin/admin.php?page=socialautopost

  • Connect Social Auto Poster with Instagram App

Under the settings tab of the Plugin Check the "Enable" box and enter in the Instagram App ID/Secret.


Create your google Plus url Shortener api Key

In order to shorten urls for sharing you need to create a Google Url Shortener APi Key.

  • Visit
    https://console.developers.google.com/
    and sign in (if you are not already signed into google)
  • Click URl Shortener API under Other Popular Api's
  • Click the blue enable button (if you have not already enabled it for other apps)
  • Click Credentials
  • On the next page, you will see three tabs marked in the red box. Select OAuth Consent Screen. On this page just add any product name you want. Enter the Home Page URL if you wish, but it’s optional. Next click on save
  • Now Click on New Credentials as show in the picture below. Clicking on it will open a new pop up, select API Key option in it. It will now open a new pop up, Select Server Key option
  • On the Next page, Enter Server Key Name, Leave IP Address Blank and click on create
  • It will now display your API key as show in Image below

Configure the SMAP Plugin Google URL Shortener

  • Visit SMAP configuration page

In your Admin navigation bar you click “SMAP” (the Plugin is also reachable via

https://Your-Site-Name/wp-admin/admin.php?page=socialautopost

  • Connect SMAP with google URL Shortener

Under the settings tab of the Plugin enter in the google Api Key and click Submit to save these settings


Now lets add accounts :-)

  • Add Facebook/twitter accounts and configure content types to be posted

To setup facebook and twitter accounts click "List Account" under the Social Auto Post hgeader.

  • under the corresponding twitter or facebook tab click the Add new ____ Account button

Once you click to add an account itbrings you to either twitter or facebook to authorize that account with the plugin. After authoization is complete you are brought back to the plugin page to configure what types of posts should be submitted ot that particular social media channel.

  • configure content types for social media channel

You can configure the specific content types, categories along witht he status format of the website content that should be posted to the specified social media channel (twitter/facebook specific pages) for each social media account you add to the plugin. Once you complete the settings for a specific account click "Save Configuration" to ensure no settings are lost.

At this point you can add cron jobs to run against any and all social media accounts. in the next section we will add the cron jobs.


Start your engines

Part 1: Setting up Wordpress cron to run the Twitter Manager system

The last section allows you to set up how the script is run to post your content to social media channels.

  • Cronjob Frequency: We recommend running the cron every 15 minutes.

Part 2: Setting up external cron to call the twitter manager cron urls

In order for the scripts to run we need to set up cronjobs. These are scheduled jobs that will call our scripts to run at designated times. For example every 20 minutes. We recommend running the cron every minute.

Depending on your technical skill you can achieve this through a number of methods. Either setting them up directly on your linux/windows server or using a 3rd party service.

We recommend using cron-job.org. It is a free cron service that is reliable for achieving the needs of this Plugin.

Go to

https://cron-job.org
to register and login

Once logged into cron-job.org click on the cronjobs tab at the top

Then click on Create cronjob

  • Enter a title for this cronjob. i.e. Run Twitter Follow Script
  • Enter the script url. You get this again from the Twitter manager Config tab on your website
  • Set a scheduled time for running this cron. i.e. every 1 minute, only on wednesdays, etc. (We recommend 1 minute)
  • Click save and you are done Now set up crons for the unfollow and tweet scripts


This documentation is provided by Gehsu.com.