PHP Class WeiboApi, thinksns

Inheritance: extends Api
Show file Open project: medz/thinksns-4

Public Methods

Method Description
all_topic ( )
channels_timeline ( ) : array 获取当前用户所关注频道分类下的微博 --using
comment_weibo ( ) : array 评论一条微博 --using
delComment ( ) : array 删除微博评论
del_weibo ( ) : array 删除一条微博 --using
denounce_weibo ( ) : array 举报一条微博 --using
digg_comment ( ) : array 赞某条评论 --using
digg_weibo ( ) : array 赞某条微博 --using
favorite_weibo ( ) : array 收藏一条资源 --using
format_feed ( $feed_ids, $show_comment = 1 ) : array 格式化手机端微博 --using
friends_timeline ( ) : array 获取当前用户所关注的用户发布的微博 --using
getHotTopic ( ) : array 获取热门话题
getNewTopic ( ) : array 获取正在进行的话题
getWeiboStrMaxLength ( ) : integer 获取微博限制字数
get_feed_info ( $feed_id ) : array 获取微博详情 --using
post_weibo ( $datas ) : array 发布一条微博 --using
public_timeline ( ) : array 获取全站最新发布微博 --using
recommend_timeline ( ) : array 获取推荐最新发布微博 --using
repost_weibo ( ) : array 转发一条微博 --using
search_at ( ) : array 搜索@最近联系人 --using
search_topic ( ) : array 搜索话题 --using
topic_timeline ( ) : array 获取某个话题下的微博 --using
undigg_comment ( ) : array 取消赞某条评论 --using
undigg_weibo ( ) : array 取消赞某条微博 --using
unfavorite_weibo ( ) : array 取消收藏 --using
upload_photo ( ) : array 发布图片微博 --using
upload_video ( ) : array 发布视频微博 --using
user_collections ( ) : array 用户收藏的微博 --using
user_comments_by_me ( ) : array 获取当前用户发出的评论 --using
user_comments_to_me ( ) : array 获取当前用户收到的评论 --using
user_diggs_to_me ( ) : array 获取当前用户的收到的赞 --using
user_mentions ( ) : array 提到用户的微博 --using
user_related ( ) : array 与我相关
user_timeline ( ) : array 用户发的微博 --using
weibo_comments ( $feed_id, $count ) : array 获取指定微博的评论列表 --using
weibo_detail ( ) : array 某条微博详细内容 --using
weibo_diggs ( $feed_id, $count = 10 ) : array 获取指定微博的赞过的人的列表 --using
weibo_search_topic ( ) : array 按话题搜索微博 --using
weibo_search_weibo ( ) : array 按关键字搜索微博 --using

Private Methods

Method Description
get_source_info ( $app, $app_row_table, $app_row_id ) : array 获取资源信息 --using
get_user_info ( $uid ) : array 获取用户信息 --using

Method Details

all_topic() public method

public all_topic ( )

channels_timeline() public method

获取当前用户所关注频道分类下的微博 --using
public channels_timeline ( ) : array
return array 指定频道分类下的微博列表

comment_weibo() public method

评论一条微博 --using
public comment_weibo ( ) : array
return array 状态+提示

delComment() public method

删除微博评论
Author: Medz Seven ([email protected])
public delComment ( ) : array
return array

del_weibo() public method

删除一条微博 --using
public del_weibo ( ) : array
return array 状态+提示

denounce_weibo() public method

举报一条微博 --using
public denounce_weibo ( ) : array
return array 状态+提示

digg_comment() public method

赞某条评论 --using
public digg_comment ( ) : array
return array 状态+提示

digg_weibo() public method

赞某条微博 --using
public digg_weibo ( ) : array
return array 状态+提示

favorite_weibo() public method

收藏一条资源 --using
public favorite_weibo ( ) : array
return array 状态+提示

format_feed() public method

格式化手机端微博 --using
public format_feed ( $feed_ids, $show_comment = 1 ) : array
return array 微博详细信息

friends_timeline() public method

获取当前用户所关注的用户发布的微博 --using
public friends_timeline ( ) : array
return array 微博列表

getHotTopic() public method

获取热门话题
Author: Seven Du ([email protected])
public getHotTopic ( ) : array
return array

getNewTopic() public method

获取正在进行的话题
Author: Seven Du ([email protected])
public getNewTopic ( ) : array
return array

getWeiboStrMaxLength() public method

获取微博限制字数
Author: Seven Du ([email protected])
public getWeiboStrMaxLength ( ) : integer
return integer

get_feed_info() public method

获取微博详情 --using
public get_feed_info ( $feed_id ) : array
return array 微博详细信息

post_weibo() public method

发布一条微博 --using
public post_weibo ( $datas ) : array
return array 状态+提示/数据

public_timeline() public method

获取全站最新发布微博 --using
public public_timeline ( ) : array
return array 微博列表

recommend_timeline() public method

获取推荐最新发布微博 --using
public recommend_timeline ( ) : array
return array 微博列表

repost_weibo() public method

转发一条微博 --using
public repost_weibo ( ) : array
return array 状态+提示

search_at() public method

搜索@最近联系人 --using
public search_at ( ) : array
return array 用户列表

search_topic() public method

搜索话题 --using
public search_topic ( ) : array
return array 话题列表

topic_timeline() public method

获取某个话题下的微博 --using
public topic_timeline ( ) : array
return array 话题详情

undigg_comment() public method

取消赞某条评论 --using
public undigg_comment ( ) : array
return array 状态+提示

undigg_weibo() public method

取消赞某条微博 --using
public undigg_weibo ( ) : array
return array 状态+提示

unfavorite_weibo() public method

取消收藏 --using
public unfavorite_weibo ( ) : array
return array 状态+提示

upload_photo() public method

发布图片微博 --using
public upload_photo ( ) : array
return array 状态+提示/数据

upload_video() public method

发布视频微博 --using
public upload_video ( ) : array
return array 状态+提示/数据

user_collections() public method

用户收藏的微博 --using
public user_collections ( ) : array
return array 微博列表

user_comments_by_me() public method

获取当前用户发出的评论 --using
public user_comments_by_me ( ) : array
return array 评论列表

user_comments_to_me() public method

获取当前用户收到的评论 --using
public user_comments_to_me ( ) : array
return array 评论列表

user_diggs_to_me() public method

获取当前用户的收到的赞 --using
public user_diggs_to_me ( ) : array
return array 赞列表

user_mentions() public method

提到用户的微博 --using
public user_mentions ( ) : array
return array 提到我的列表

user_timeline() public method

用户发的微博 --using
public user_timeline ( ) : array
return array 微博列表

weibo_comments() public method

获取指定微博的评论列表 --using
public weibo_comments ( $feed_id, $count ) : array
return array 评论列表

weibo_detail() public method

某条微博详细内容 --using
public weibo_detail ( ) : array
return array 微博详细信息

weibo_diggs() public method

获取指定微博的赞过的人的列表 --using
public weibo_diggs ( $feed_id, $count = 10 ) : array
return array 点赞的用户列表

weibo_search_topic() public method

按话题搜索微博 --using
public weibo_search_topic ( ) : array
return array 微博列表

weibo_search_weibo() public method

按关键字搜索微博 --using
public weibo_search_weibo ( ) : array
return array 微博列表