惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
S
Securelist
P
Proofpoint News Feed
D
DataBreaches.Net
Cisco Talos Blog
Cisco Talos Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
Project Zero
Project Zero
A
About on SuperTechFans
罗磊的独立博客
WordPress大学
WordPress大学
月光博客
月光博客
Latest news
Latest news
C
Cyber Attacks, Cyber Crime and Cyber Security
GbyAI
GbyAI
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
博客园 - 三生石上(FineUI控件)
F
Fortinet All Blogs
W
WeLiveSecurity
Attack and Defense Labs
Attack and Defense Labs
V
Visual Studio Blog
Blog — PlanetScale
Blog — PlanetScale
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
P
Privacy International News Feed
AI
AI
博客园 - 司徒正美
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Stack Overflow Blog
Stack Overflow Blog
M
MIT News - Artificial intelligence
Help Net Security
Help Net Security
T
Tor Project blog
V
Vulnerabilities – Threatpost
C
Cisco Blogs
I
Intezer
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
MyScale Blog
MyScale Blog
雷峰网
雷峰网
MongoDB | Blog
MongoDB | Blog
Forbes - Security
Forbes - Security
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
T
Threat Research - Cisco Blogs
B
Blog RSS Feed
博客园 - 叶小钗
N
News and Events Feed by Topic
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Simon Willison's Weblog
Simon Willison's Weblog
C
CERT Recently Published Vulnerability Notes
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News and Events Feed by Topic

博客园 - Samgle

HttpRequest重写,解决资源占用/链接超时/分块下载事件通知 问题。 解决删除域用户Exception from HRESULT: 0x80072030 PDF-XChange 3.0 / Pro4.0注册码 Welcome to the Live Labs Pivot Technical Preview 修复 VS2008 asp.net 设计视图 失效/工具-选项[Html设计视图]出现"加载此属性页时出错" 方案 对于JavaScript的 Stack overflow at line 错误总结 - Samgle 10 Free Chart Scripts 如何让mvc运行在IIS6.0上? (ASP.NET MVC on IIS 6 Walkthrough) BIND9.5b1 for windows 2003 Google Maps by asp.net API集成-S.Sams Olympic Medal 如何在asp.net中用jQuery实现便捷的提示功能和表单验证功能-S.Sams jQuery jGrow 改进版 通过代理访问 http://sourceforge.net/ 常用简易JavaScript函数 世界真細小 (原曲: It's A Small World), 作曲: Richard She 做下笔记, Response 文件流类型 推荐微软官方Windows Server 2008实战攻略系列下载 Most used CSS tricks
Live.com MSN 在线状态查询接口(JSON数据输出) - Samgle
Samgle · 2008-09-19 · via 博客园 - Samgle

今天在查阅 MSDN 文档时发现这个接口, 其实在线状态的接口, Live已经提供了, 但是需要用户自己操作才能获到该地址. 而且是加密的.


http://messenger.services.live.com/users/d67cb5fcd15e35a5@apps.messenger.live.com/presenceimage?mkt=zh-cn


现在有以下的接口参数就太方便了. 可在自己定义状态的图片信息等.

http://messenger.services.live.com/users/youliveid@msn.com/presence/?cb=showpresence

{
    "icon": {
        "url": "http://www.wlmessenger.net/static/img/presence/Online.gif", "height": 16, "width": 16
    }, "statusText": "Online", "status": "Online", "displayName": "s.sams", "id": "youliveid@msn.com"
}

再结合 Newtonsoft.Json 完全实现自定义操作.

http://www.codeplex.com/Json

Code(该摘自:Json.net/Newtonsoft 3.0 新特性JObject/Linq to Json )
static void Main(string[] args)
{
string str = "{title:123,body:456,list:{title:'这是一个标题',body:'what'}}";
JObject o = JObject.Parse(str);
Console.WriteLine(o[
"title"]);
Console.WriteLine(o[
"body"]);
Console.WriteLine(o[
"list"]["title"]);
Console.WriteLine(o[
"list"]["body"]);
Console.ReadKey();
}


更多技术文档请参阅: http://dev.live.com/Messenger/default.aspx

附上MSN在线小图标直接地址: http://messenger.services.live.com/users/youmsnid@msn.com/presenceimage/
Live 在线状态生成地址: http://settings.messenger.live.com/applications/CreateHtml.aspx

补充一下: 其实在 http://www.onlinestatus.org/ 是可以生成在线图标的, 但服务很不稳定.