Method | Description | |
---|---|---|
Authorized ( string code ) : System.Web.Mvc.ActionResult |
授权认证
|
|
GetPublicTimeline ( ) : System.Web.Mvc.ActionResult |
获取最新微博
|
|
GetUserState ( ) : System.Web.Mvc.ActionResult |
获取用户信息
|
|
Index ( ) : System.Web.Mvc.ActionResult | ||
PostStatus ( string status, string img ) : System.Web.Mvc.ActionResult |
发微博
|
|
UploadImage ( System.Web.HttpPostedFileBase file ) : System.Web.Mvc.ActionResult |
上传图片
|
Method | Description | |
---|---|---|
GetOpenAuthClient ( ) : |
封装一个方法来初始化OpenAuth客户端
|
public Authorized ( string code ) : System.Web.Mvc.ActionResult | ||
code | string | 新浪返回的code |
return | System.Web.Mvc.ActionResult |
public GetPublicTimeline ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public GetUserState ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public Index ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public PostStatus ( string status, string img ) : System.Web.Mvc.ActionResult | ||
status | string | |
img | string | |
return | System.Web.Mvc.ActionResult |
public UploadImage ( System.Web.HttpPostedFileBase file ) : System.Web.Mvc.ActionResult | ||
file | System.Web.HttpPostedFileBase | |
return | System.Web.Mvc.ActionResult |