Home Page

Facebook Like Box

If you own Facebook Pages or Facebook Group, then you can have your Facebook Like Box to show your pages / groups ' participants.

First of all, just note your facebook pages or groups id, then by writing in this way:

[imgshow]q:name=fbfan,id=xxx[/imgshow]
  		
[imgshow q:name=fbfan,id=xxx]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('fbfan')->p('id', 'xxx')->load();

?>  		
var imgshow = require('imgshow');

imgshow().name('fbfan').p('id', 'xxx').load(function(result) {
	console.log(result);
});
  		
var imgshow = require('./imgshow.js');

var win = Ti.UI.createWindow({title:'Imgshow Client'});
var btn = Ti.UI.createButton({left:5,top:5,right:5,bottom:5,title:'Show Me Result'});
btn.addEventListener('click', function() {
	imgshow().name('fbfan').p('id', 'xxx').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

if(session.ready()) {
	session.answer();
	util.say('Please hold while we querying');
	
	imgshow().name('fbfan').p('id', 'xxx').load(function(message) {
		util.say('the result is ' + message);
	});
}
  		

Visit Imgshow API Github Page for more information

To adjust width or height, by adding its parameter

[imgshow]q:name=fbfan,id=xxx,width=500,height=400[/imgshow]
  		
[imgshow q:name=fbfan,id=xxx,width=500,height=400]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('fbfan')->p('id', 'xxx')->p('width', '500')->p('height', '400')->load();

?>  		
var imgshow = require('imgshow');

imgshow().name('fbfan').p('id', 'xxx').p('width', '500').p('height', '400').load(function(result) {
	console.log(result);
});
  		
var imgshow = require('./imgshow.js');

var win = Ti.UI.createWindow({title:'Imgshow Client'});
var btn = Ti.UI.createButton({left:5,top:5,right:5,bottom:5,title:'Show Me Result'});
btn.addEventListener('click', function() {
	imgshow().name('fbfan').p('id', 'xxx').p('width', '500').p('height', '400').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

if(session.ready()) {
	session.answer();
	util.say('Please hold while we querying');
	
	imgshow().name('fbfan').p('id', 'xxx').p('width', '500').p('height', '400').load(function(message) {
		util.say('the result is ' + message);
	});
}
  		

Visit Imgshow API Github Page for more information

Example: