1ļṹ˵
| | |~demo/  // ļдһЩʵ
| | | |~plugin/ // plugin ϴ
| | | | |-custom.php
| | | | |-customEasy.php
| | | | `-upload.php
| | | |-Example.php // һ
| | | `-Open.php  // ļװнӿڵʹ÷
| | |+User/   // UserĽӿ
| | |+Video/ // VideoĽӿ
| | |-ApiAbstract.php // ӿڻ
| | `-conf.php //ļ޸appkeyϢ

2ĸ
return array(
    'is_developer'=>true, // ظģǷphpʾʽǵøΪfalse
    'appkey'      =>'',   // ظģ56ƽ̨ӦöӦappKey
    'secret'      =>'',   // ظģ56ƽ̨ӦöӦsecret
    'domain'      =>'http://oapi.56.com', // Ĭϣ
    'token'       =>'',   // ѡĳЩӿҪʹõtokenд룬tokenĻȡʽhttp://dev.56.com/wiki/doc-view-7.html
    'test_user_id'=>'',   // ѡҪuser idǴ룬ʹ
    );

3һ򵥵Ľӿʹ
<?php
//װнӿڵʹ÷ļ
require_once dirname(__FILE__).'/Open.php';
$params = array(
    'cid'=>2,
    'page'=>1,
    'num'=>10,
);
// Ļʹdemo
Open::Video_Hot($params);

4ӿ

4.1ࣺ
    User_UserVideos //ȡûϴƵ
	
    User_UserProfile //ȡûĸϢ
	
    User_UserComment //ûۻƵ
	
    User_AppVideos //ȡӦϴƵ
	
    Video_GetVideoInfo //ȡƵϢ
	
    Video_Search //ݹؼֻȡ
	
    Video_Update //ȡƵϢĽӿ
	
    Video_Channel //ƵƵ
	
    Video_Recommend //ƼƵƵ

    Video_Hot //56ҳŵƵ
	
    Video_RecAlbum //56ĳƼƵ

    Video_Delete //ɾƵ

    Album_Info // Ƶרӿ()

    User_AppUserVideos //ȡĳӦĳûƵб()

    Video_Mobile // ֻͻƵŵַ()

    User_AppProfile	 //ȡӦϢ()

    User_App2Videos	 ȡǰӦϴƵб()

4.2ϴࣺ
SDK/demo/plugin/
 customEasy.php // ϴ࣬ύƵ
 custom.php	// ϴ࣬ԶϴʽϴƵͬʱҪд⡢ǩ
 upload.php  // ªϴ࣬ϴƵͬʱҪд⡢ǩ
 diyupload.php  //Զϴʽ(ǿ棬ɿرʾ)() 


ʹøSDKκ⣬ϵLouis email:zixing.li@renren-inc.com QQ:838431609
56ƽ̨QQȺ 233921452
ƽ̨ҳ http://dev.56.com/
ֲ http://dev.56.com/developers.html
ҵӦ http://dev.56.com/wiki/basic-addapp.html
ƽ̨wiki http://dev.56.com/wiki/
