Vine API will let you understand how it function. You can watch the source downloading it, is easy to read object oriented.
You need to download zip file and run it on any server or localhost with PHP and Apache or NGinx.
Then run the index.php, but first set your credentials on the run.php.

1) auth

use with memcache:

	$memcache 		= new Memcache;
	$memcache->connect("127.0.0.1",11211);
	$vine	= new Vine("vine-mail","vinepass",$memcache)

use without memcache:

	$vine	= new Vine("vine-mail","vinepass")

2) data size

use:

	$vine->dataSize(1,20) // 1 =  page, 20 = count on page (max = 100)
	// dataSize before using
	userSearch
	userTimeline
	userLikes
	userFollowers
	userFollowing
	postLikes
	tag
	tagSearch
	tagTrending
	globalVines
	popularVines
	promotedVines
	graphVines

example :

	$vine->dataSize(2,10);
	$vine->tag('funny');

3) user info

use:

	$vine->userInfo(918533142158118912)

4) user search

use :

	$vine->userSearch("key")

5) user vines

use :

	$vine->userTimeline("918533142158118912")

6) user likes

use :

	$vine->userLikes("918533142158118912")

7) user followers

use :

	$vine->userFollowers("918533142158118912")

8) user following

use :

	$vine->userFollowing("918533142158118912")

9) vine data

use :

	$vine->postData("1001276655295164416")

10) vine likes

use :

	$vine->postLikes("1001276655295164416")

11) tag vines

use :

	$vine->tag("funny")

12) tag search

use :

	$vine->tagSearch("funny")

13) trending tags

use :

	$vine->tagTrending()

14) global vines

use :

	$vine->globalVines()

15) popular vines

use :

	$vine->popularVines()

16) promoted vines

use :

	$vine->promotedVines()

17) user timeline

use :

	$vine->graphVines()

Download Now following link:

Sorry, you do not have access to this content.
Report Missing Link