Home Page

Twitter Conversation

If you have Twitter account, you are able to put your Twitter Conversation Box which will show your latest Twitter feeeds, and you are also allowed to invite other persons to join your conversation.

Embed method is simple. By finding your account id, for example @abcd, you take abcd.

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

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

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

imgshow().name('twitter').p('user', '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('twitter').p('user', 'xxx').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

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

Visit Imgshow API Github Page for more information

If need to change width or height, just adds its parameter

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

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

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

imgshow().name('twitter').p('user', '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('twitter').p('user', '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('twitter').p('user', 'xxx').p('width', '500').p('height', '400').load(function(message) {
		util.say('the result is ' + message);
	});
}
  		

Visit Imgshow API Github Page for more information

For example fyhao Twitter:

[imgshow]q:name=twitter,user=fyhao[/imgshow]
  		
[imgshow q:name=twitter,user=fyhao]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('twitter')->p('user', 'fyhao')->load();

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

imgshow().name('twitter').p('user', 'fyhao').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('twitter').p('user', 'fyhao').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

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

Visit Imgshow API Github Page for more information

Example:

[imgshow]q:name=twitter,k=science[/imgshow]
  		
[imgshow q:name=twitter,k=science]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('twitter')->p('k', 'science')->load();

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

imgshow().name('twitter').p('k', 'science').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('twitter').p('k', 'science').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

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

Visit Imgshow API Github Page for more information