http://open.weibo.com/wiki/index.php?title=WP7_SDK%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3&feed=atom&action=history
WP7 SDK说明文档 - 版本历史
2024-03-28T18:35:17Z
本wiki的该页面的版本历史
MediaWiki 1.18.2
http://open.weibo.com/wiki/index.php?title=WP7_SDK%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3&diff=12630&oldid=prev
2014年3月27日 (四) 08:40 Fuman
2014-03-27T08:40:15Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2014年3月27日 (四) 08:40的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第1行:</td>
<td colspan="2" class="diff-lineno">第1行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==概述==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==概述==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>;<del class="diffchange diffchange-inline">新浪微博Windows </del>Phone 7平台官方SDK包提供给第三方开发者OAuth和xAuth两种登录方式、默认的发送/分享微博界面及其它Open API的URL请求,大大简化了第三方集成微博相关服务的难度。当前微博SDK开发包仅支持WP7芒果版Beta2 Refresh SDK开发环境。集成的OPEN API版本为V3版,支持XML和JSON两种数据交换格式,以后会随着OPEN API的版本升级而提高更新的微博SDK包。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>;<ins class="diffchange diffchange-inline">微博Windows </ins>Phone 7平台官方SDK包提供给第三方开发者OAuth和xAuth两种登录方式、默认的发送/分享微博界面及其它Open API的URL请求,大大简化了第三方集成微博相关服务的难度。当前微博SDK开发包仅支持WP7芒果版Beta2 Refresh SDK开发环境。集成的OPEN API版本为V3版,支持XML和JSON两种数据交换格式,以后会随着OPEN API的版本升级而提高更新的微博SDK包。</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==授权模式==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==授权模式==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>;'''OAuth 授权:'''OAuth是一种常见的授权模式,用户可以更安全放心的使用用户身份,而不必把用户名和密码透露给第三方。而OAuth2.0是从2006年开始设计OAuth协议的下一个版本,OAuth2.0同时提供Web,桌面和移动应用程序的支持,并较1.<del class="diffchange diffchange-inline">0相比整个授权验证流程更简单更安全。也是新浪微博开放平台未来最主要的用户身份验证和授权方式。我们推荐用户使用OAuth2</del>.0鉴权方式,微博SDK对OAuth2.0中的授权页方式和客户端方式(又称用户名密码方式)进行了封装,您只需简单的调用即可获得访问微博接口的授权密钥。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>;'''OAuth 授权:'''OAuth是一种常见的授权模式,用户可以更安全放心的使用用户身份,而不必把用户名和密码透露给第三方。而OAuth2.0是从2006年开始设计OAuth协议的下一个版本,OAuth2.0同时提供Web,桌面和移动应用程序的支持,并较1.<ins class="diffchange diffchange-inline">0相比整个授权验证流程更简单更安全。也是微博开放平台未来最主要的用户身份验证和授权方式。我们推荐用户使用OAuth2</ins>.0鉴权方式,微博SDK对OAuth2.0中的授权页方式和客户端方式(又称用户名密码方式)进行了封装,您只需简单的调用即可获得访问微博接口的授权密钥。</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>
Fuman
http://open.weibo.com/wiki/index.php?title=WP7_SDK%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3&diff=7789&oldid=prev
Jiangbin: /* OAuth鉴权 */
2012-03-02T08:23:12Z
<p><span class="autocomment">OAuth鉴权</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2012年3月2日 (五) 08:23的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第206行:</td>
<td colspan="2" class="diff-lineno">第206行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>用户只需设置一些AuthenticationView的事件,然后跳转到该视图页面就可以了。当用户在授权页 ”点击” 授权后OAuth2VerifyCompleted事件将被触发,可以得到Access_token。当用户点取消,则OBrowserCancelled事件将被通知,我们此时可以做隐藏或退出该视图,或跳转到其它页面。</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>用户只需设置一些AuthenticationView的事件,然后跳转到该视图页面就可以了。当用户在授权页 ”点击” 授权后OAuth2VerifyCompleted事件将被触发,可以得到Access_token。当用户点取消,则OBrowserCancelled事件将被通知,我们此时可以做隐藏或退出该视图,或跳转到其它页面。</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>**'''界面效果:'''[http://www.sinaimg.cn/blog/developer/wiki/<del class="diffchange diffchange-inline">WP74</del>.<del class="diffchange diffchange-inline">png</del>]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>**'''界面效果:'''[http://www.sinaimg.cn/blog/developer/wiki/<ins class="diffchange diffchange-inline">wp7001</ins>.<ins class="diffchange diffchange-inline">jpg</ins>]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**'''示例代码:'''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>**'''示例代码:'''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre>private void Button_Click(object sender, System.Windows.RoutedEventArgs e)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre>private void Button_Click(object sender, System.Windows.RoutedEventArgs e)</div></td></tr>
</table>
Jiangbin
http://open.weibo.com/wiki/index.php?title=WP7_SDK%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3&diff=7788&oldid=prev
Jiangbin: /* 常用微博数据请求 */
2012-03-02T08:18:03Z
<p><span class="autocomment">常用微博数据请求</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2012年3月2日 (五) 08:18的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第140行:</td>
<td colspan="2" class="diff-lineno">第140行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>SdkRequestType.FRIENDS_TIMELINE - 批量获取当前登录用户及其所关注用户的最新微博消息</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>SdkRequestType.FRIENDS_TIMELINE - 批量获取当前登录用户及其所关注用户的最新微博消息</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>'''参数类: cmdNormalMessages'''</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>'''参数类: cmdNormalMessages'''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>SdkRequestType.USER_TIMELINE - 批量获取某人的微博</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>SdkRequestType.USER_TIMELINE - 批量获取某人的微博</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>'''参数类: cdmUserTimeline</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>'''参数类: cdmUserTimeline</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>SdkRequestType.UPLOAD_MESSAGE  - 发送微博</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>SdkRequestType.UPLOAD_MESSAGE  - 发送微博</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>'''参数类: cmdUploadMessage</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>'''参数类: cmdUploadMessage</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>SdkRequestType.UPLOAD_MESSAGE_PIC –发送带图片的微博</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>SdkRequestType.UPLOAD_MESSAGE_PIC –发送带图片的微博</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>'''参数类: cmdUploadPic</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>'''参数类: cmdUploadPic</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>SdkRequestType.FRIENDSHIP_CREATE – 关注某用户</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>SdkRequestType.FRIENDSHIP_CREATE – 关注某用户</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>SdkRequestType.FRIENDSHIP_DESDROY – 取消关注</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>SdkRequestType.FRIENDSHIP_DESDROY – 取消关注</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>SdkRequestType.FRIENDSHIP_SHOW – 获取两者关系</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>SdkRequestType.FRIENDSHIP_SHOW – 获取两者关系</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>'''参数类: cmdFriendShip</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>'''参数类: cmdFriendShip</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>SdkRequestType.AT_USERS - @用户时的联想建议</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>SdkRequestType.AT_USERS - @用户时的联想建议</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>'''参数类: cmdAtUsers</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>'''参数类: cmdAtUsers</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===其它微博数据请求===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===其它微博数据请求===</div></td></tr>
</table>
Jiangbin
http://open.weibo.com/wiki/index.php?title=WP7_SDK%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3&diff=7787&oldid=prev
Jiangbin: /* 问题反馈 */
2012-03-02T08:16:49Z
<p><span class="autocomment">问题反馈</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2012年3月2日 (五) 08:16的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第466行:</td>
<td colspan="2" class="diff-lineno">第466行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==问题反馈==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==问题反馈==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>如果您在调用此SDK上有问题,可发送私信到微博地址(http://weibo.com/luckytime)  。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>如果您在调用此SDK上有问题,可发送私信到微博地址(http://weibo.com/luckytime)  。</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>也可以直接加入开发者交流微群http://q.weibo.com/381841 进行交流。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>也可以直接加入开发者交流微群http://q.weibo.com/381841 进行交流。</div></td></tr>
</table>
Jiangbin
http://open.weibo.com/wiki/index.php?title=WP7_SDK%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3&diff=7786&oldid=prev
Jiangbin: /* 其它微博数据请求 */
2012-03-02T08:16:09Z
<p><span class="autocomment">其它微博数据请求</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2012年3月2日 (五) 08:16的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第166行:</td>
<td colspan="2" class="diff-lineno">第166行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===其它微博数据请求===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===其它微博数据请求===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>接口:SdkNetEngine. SendRequest(RestRequest request, SdkCmdBase data,RequestBack CallBack)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>接口:SdkNetEngine. SendRequest(RestRequest request, SdkCmdBase data,RequestBack CallBack)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><table class="wiki_table" border="0" cellspacing="0" cellpadding="0" style="width:100%"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><table class="wiki_table" border="0" cellspacing="0" cellpadding="0" style="width:100%"></div></td></tr>
<tr><td colspan="2" class="diff-lineno">第187行:</td>
<td colspan="2" class="diff-lineno">第187行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></table></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></table></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>1、  该函数要求用户自行传入接口地址和自行对RestRequest组参,这样可以满足你访问大部分微博的接口,具体使用方法见”SDK实例使用说明”中对其介绍</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>1、  该函数要求用户自行传入接口地址和自行对RestRequest组参,这样可以满足你访问大部分微博的接口,具体使用方法见”SDK实例使用说明”中对其介绍</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==SDK实例使用说明==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==SDK实例使用说明==</div></td></tr>
</table>
Jiangbin
http://open.weibo.com/wiki/index.php?title=WP7_SDK%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3&diff=7785&oldid=prev
Jiangbin: /* 常用微博数据请求 */
2012-03-02T08:15:36Z
<p><span class="autocomment">常用微博数据请求</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2012年3月2日 (五) 08:15的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第134行:</td>
<td colspan="2" class="diff-lineno">第134行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></td></tr></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></td></tr></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></table></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></table></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>1、该接口对一些常用微博数据的请求做出封装,用户只需传入类型+赋值好参数的类即可使用,而不用关心具体HTTP的API调用和组包细节。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>1、该接口对一些常用微博数据的请求做出封装,用户只需传入类型+赋值好参数的类即可使用,而不用关心具体HTTP的API调用和组包细节。</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>2、该接口支持的功能有:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>2、该接口支持的功能有:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>
Jiangbin
http://open.weibo.com/wiki/index.php?title=WP7_SDK%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3&diff=7784&oldid=prev
Jiangbin: /* 常用微博数据请求 */
2012-03-02T08:13:57Z
<p><span class="autocomment">常用微博数据请求</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2012年3月2日 (五) 08:13的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第114行:</td>
<td colspan="2" class="diff-lineno">第114行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===常用微博数据请求===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===常用微博数据请求===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>接口:SdkNetEngine.RequestCmd(SdkRequestType type, SdkCmdBase data, SdkCallBack CallBack)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>接口:SdkNetEngine.RequestCmd(SdkRequestType type, SdkCmdBase data, SdkCallBack CallBack)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><table class="wiki_table" border="0" cellspacing="0" cellpadding="0" style="width:100%"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><table class="wiki_table" border="0" cellspacing="0" cellpadding="0" style="width:100%"></div></td></tr>
</table>
Jiangbin
http://open.weibo.com/wiki/index.php?title=WP7_SDK%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3&diff=7783&oldid=prev
Jiangbin: /* 发微博/分享微博界面 */
2012-03-02T08:13:38Z
<p><span class="autocomment">发微博/分享微博界面</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2012年3月2日 (五) 08:13的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第68行:</td>
<td colspan="2" class="diff-lineno">第68行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===发微博/分享微博界面===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===发微博/分享微博界面===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>接口:SdkShare.Show()</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>接口:SdkShare.Show()</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><table class="wiki_table" border="0" cellspacing="0" cellpadding="0" style="width:100%"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><table class="wiki_table" border="0" cellspacing="0" cellpadding="0" style="width:100%"></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><tr></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><tr></div></td></tr>
<tr><td colspan="2" class="diff-lineno">第93行:</td>
<td colspan="2" class="diff-lineno">第93行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Complete 事件返回参数:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>Complete 事件返回参数:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><table class="wiki_table" border="0" cellspacing="0" cellpadding="0" style="width:100%"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><table class="wiki_table" border="0" cellspacing="0" cellpadding="0" style="width:100%"></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><tr></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><tr></div></td></tr>
</table>
Jiangbin
http://open.weibo.com/wiki/index.php?title=WP7_SDK%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3&diff=7782&oldid=prev
Jiangbin: /* OAuth2.0鉴权--用reflesh_token更新access_token */
2012-03-02T08:13:12Z
<p><span class="autocomment">OAuth2.0鉴权--用reflesh_token更新access_token</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2012年3月2日 (五) 08:13的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第47行:</td>
<td colspan="2" class="diff-lineno">第47行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===OAuth2.0鉴权--用reflesh_token更新access_token===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===OAuth2.0鉴权--用reflesh_token更新access_token===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>接口:ClientOAuth. RefleshAccessToken(string refleshCode, OAuth2LoginBack CallBack)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>接口:ClientOAuth. RefleshAccessToken(string refleshCode, OAuth2LoginBack CallBack)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><table class="wiki_table" border="0" cellspacing="0" cellpadding="0" style="width:100%"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><table class="wiki_table" border="0" cellspacing="0" cellpadding="0" style="width:100%"></div></td></tr>
<tr><td colspan="2" class="diff-lineno">第64行:</td>
<td colspan="2" class="diff-lineno">第64行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></table></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></table></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>1、 需向微博开发者平台申请客户端鉴权的权限方能使用。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>1、 需向微博开发者平台申请客户端鉴权的权限方能使用。</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>2、 CallBack回调函数中已经对无网络、服务器发生的错误进行相应的返回。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>2、 CallBack回调函数中已经对无网络、服务器发生的错误进行相应的返回。</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===发微博/分享微博界面===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===发微博/分享微博界面===</div></td></tr>
</table>
Jiangbin
http://open.weibo.com/wiki/index.php?title=WP7_SDK%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3&diff=7781&oldid=prev
Jiangbin: /* OAuth2.0鉴权--获取access_token、reflesh_token */
2012-03-02T08:10:15Z
<p><span class="autocomment">OAuth2.0鉴权--获取access_token、reflesh_token</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2012年3月2日 (五) 08:10的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第23行:</td>
<td colspan="2" class="diff-lineno">第23行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== OAuth2.0鉴权--获取access_token、reflesh_token===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== OAuth2.0鉴权--获取access_token、reflesh_token===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>接口:ClientOAuth.GetAccessToken(string name, string passWord, OAuth2LoginBack CallBack)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>接口:ClientOAuth.GetAccessToken(string name, string passWord, OAuth2LoginBack CallBack)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><table class="wiki_table" border="0" cellspacing="0" cellpadding="0" style="width:100%"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><table class="wiki_table" border="0" cellspacing="0" cellpadding="0" style="width:100%"></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><tr></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><tr></div></td></tr>
<tr><td colspan="2" class="diff-lineno">第43行:</td>
<td colspan="2" class="diff-lineno">第43行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></table></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></table></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>1、  需向微博开发者平台申请客户端鉴权的权限方能使用。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>1、  需向微博开发者平台申请客户端鉴权的权限方能使用。</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">*</del>2、 CallBack回调函数中已经对无网络、服务器发生的错误进行相应的返回。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">;</ins>2、 CallBack回调函数中已经对无网络、服务器发生的错误进行相应的返回。</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===OAuth2.0鉴权--用reflesh_token更新access_token===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===OAuth2.0鉴权--用reflesh_token更新access_token===</div></td></tr>
</table>
Jiangbin