Facebook Sharer PRO installation guide

1. Installation service on demand

On demand, we can install and configure the script on your server or domain for only 20$

The installation service will include:
  - uploading the files on your server
  - creating and configuring the database on your server
  - creating the cron jobs on your server
  - updating the script configuration

Please contact us if you are interested in this service.
2. Usage

Facebook Sharer PRO was licensed for one domain.

In order for the script to work:
- You must install and use the script on the domain you have specified, in any folder or subdomain.
- DO NOT install it on localhost. It will not work.
- DO NOT install it under password protected folders on your domain. It will not work.
- DO NOT use it on servers that provide free hosting. In most cases, some basic functions are disabled and the script will not work.

3. Safety notice

Facebook Sharer PRO was not designed to spam Facebook's users or to abuse the system.
Use it only to update your status on your personal Facebook wall or pages.


Use the script attentively and read carefully the "help" section in admin panel.
4. Installation - uploading the script on your domain

1. Unzip and upload all the files in the package into any directory on your server.
2. Change permissions for "temp" folder to 777: chmod 777 temp
3. Using Cpanel or any admin interface available, create a new database and a new database user.
4. Add the new user to the new existing database.
5. Then, go to phpmyadmin and import the sql file into the new created database: config/facebooksharer.sql
6. Add an user and a password for the previous created database.
7. Open the file config/bdvars.php and change the database parameters (db name,db username, db password).

Admin panel access: www.yourdomain/your-install-folder/facebooksharer/index.php
The default username and password for your account are: admin/adminpass
5.A. Creating your Facebook application using the new Facebook Developers interface

1. Login into Facebook developers section with a Facebook verified account.
https://developers.facebook.com
Please note that you must have a verified Facebook account.

2. In the main menu, Click on Apps >> Create new App

3. Choose a name for your application, a Namespace(optional), select “Apps for pages” in Category and then click on Create App.

4. Go to Settings tab and insert these details:
   4.1. Display Name: Choose a name – on Facebook this will appear as “posted via”
   4.2. Namespace: Choose a namespace(optional)
   4.3. Click on "+Add Platform" and select "Website".
   4.3.1. In Site URL insert the main domain where the script will be installed(with http:// prefix). Ex: http://www.facebook-sharer.com
   4.4. App Domains: insert the main domain where the script will be installed(without http:// prefix). Ex: facebook-sharer.com
          App Domains MUST CONTAIN THE SAME DOMAIN like Site URL.
Save the details.

5. Go to App Details tab. Scroll until "App Center Listed Platforms" and click on "Configure App Center Permissions"
   5.1. Default Activity Privacy. Select Public

6. Go to “Status&Review“ and change  
Do you want to make this app and all its live features available to the general public?
- YES

7. Go to “Dashboard”, and click on App Secret - > Show. You will be asked for your password.

8. On your server, open the file config/bdvars.php and fill in this info conforming with your application details.
$appdomain="yourdomain.com";
$appid='your application id goes here';
$appsecret='your application secret goes here';

Save the configuration file.
5.B. Creating your Facebook application using the old Facebook Developers interface

1. Login into Facebook developers section with a Facebook verified account.
https://developers.facebook.com
Please note that you must have a verified Facebook account.

2. In the main menu, click on Apps. Then, click on +Create New App button.

3. Choose a name for your application, a Namespace(optional), select “Apps for pages” in Category and then click on Continue.

4. Go to Settings - Basic tab and insert these details:
   4.1. Set Sandbox Mode to Disabled
   4.2. Select how your app integrates with Facebook: "Website with Facebook Login"
           In Site URL insert your domain(with http prefix). Ex: http://www.facebook-sharer.com
           Site URL MUST BE the same as App Domains.
   4.3. App Domains: insert your domain where the script will be installed(without http prefix). Ex: facebook-sharer.com
Save the details.

5. Go to Settings -> Permissions
   5.1. Default Activity Privacy. Select Public

6. On your server, open the file config/bdvars.php and fill in this info conforming with your application details.
$appdomain="yourdomain.com";
$appid='your application id goes here';
$appsecret='your application secret goes here';

Save the configuration file.
6. Installation - cron jobs

For this application to work you need to set up 3 cron jobs.

fb_wall.php(to post on account wall) - it must set to run each 30 minutes
fb_pages.php(to post on facebook pages) - it must set to run each 30 minutes
fb_groups.php(to post in groups) - it must set to run each 15 or 30 minutes
If you are using more campaigns to post in multiple groups, it is recommended to set fb_groups.php cron to run every 10 minutes.

Setting the cron jobs on your server
To set the cron jobs, you must login into your web hosting account and look for a section named "cron jobs" or "scheduled tasks".
Go into that section, for each command create a new cron job and paste the cron job code.
The cron job command can be found in Facebook sharer admin panel "administration" section.

If your hosting does not support cronjobs you can use an external free provider.
Ex: easycron.com, setcronjob.com, cronless.com(search on Google for free cron job).
In this case, you will have to insert the full URL for each cronjob.
http://www.your-domain.com/fbs-install-folder/cronjobs/fb_wall.php
http://www.your-domain.com/fbs-install-folder/cronjobs/fb_pages.php
http://www.your-domain.com/fbs-install-folder/cronjobs/fb_groups.php
7. Admin panel

After the installtion, please login and change your default login details.
The script is very easy to use and all settings are intuitive.
Please use the help section and also the help tooltips for all settings and features.
Also check the help section, it contains a lot of information that will help you to configure the script for optimal usage.



Copyright ©2010-2014, Facebook Sharer PRO