“FB post” Documentation by “Dalibor” v1.0


“FB post”

Created: 4/13/2017
By: Dalibor
Email: dal_sto@yahoo.com
FB page: Open cart modules

Thank you for purchasing my item. If you have any questions that are beyond the scope of this help file, please feel free to email via my email. Thanks so much!


Table of Contents

  1. Installation
  2. Usage
  3. Create facebook app

A) Installation - top

1. Open folder fb_post-x.x.x.x' that match your opencart version

2. Upload content from upload folder to your opencart installation folder

3. Install module in admin->extensions->module->FB post

4. You can add unlimited modules


B) Usage - top

You can create unlimited number of modules. You can use same app id,app secret and access token for all modules

In each module you can add different fb page

Filter product that you want to be posted by category, brand, store ... in each module

You can edit message, description and title that are shown in post

If you leave description and title empty they will be taken from product url

In message, description and title you can use [[model]], [[sku]], [[upc]], [[ean]], [[jan]], [[isbn]], [[mpn]], [[location]], [[quantity]], [[manufacturer]], [[weight]], [[length]], [[width]], [[height]], [[price]], [[special]], [[image]], [[link]], [[description]],[[withouttax]]
for example if you have in message -> get [[name]] for [[price]] , in post this will be -> get HTC Touch HD for 200$

Post data with link http://www.yourdomain.com/fb_post.php?name=module_name

If you want this to be autoposting use Cron job. Example of cron job commands are listed below

You can create unlimited number of modules. Access to module : in url add ?name=module_name
Ex. link http://www.yourdomain.com/fb_post.php?name=module_name
Cron /usr/bin/php {path_to_opncart_installation normally public_html}/fb_post.php name=module_name

Use link http://www.yourdomain.com/fb_post.php?name=module_name&limit=number (replace word 'number' with real numbers) to post more products ( default is 1).
Ex.link http://www.yourdomain.com/fb_post.php?name=module_name&limit=20
Cron /usr/bin/php {path_to_opncart_installation normally public_html}/fb_post.php name=module_name limit=20

For access to different language add &lang=laguage_code
ex. link http://www.yourdomain.com/fb_post.php?name=module_name&lang=fr
Cron /usr/bin/php {path_to_opncart_installation normally public_html}/fb_post.php name=module_name lang=fr

For access to different currency add &currency=currency_code
ex. link http://www.yourdomain.com/fb_post.php?name=module_name&currency=EUR
Cron /usr/bin/php {path_to_opncart_installation normally public_html}/fb_post.php name=module_name currency=EUR


C) Create facebook app - top

You can create facebook api here https://developers.facebook.com/apps

1. Make sure that app is live (Under App Review - Make app_name Public? must be Yes




2. Your domain must be under Site Url



Once again, thank you so much for purchasing this item. As I said at the beginning, I'd be glad to help you if you have any questions relating to this module. No guarantees, but I'll do my best to assist. If you have a more general question send me email

Dalibor

Go To Table of Contents