【发布时间】:2013-09-04 11:06:51
【问题描述】:
我刚开始阅读有关 Facebook SDK 的信息,我想从我的时间线或其他任何地方获取帖子到我的网站。 问题是: 我收到的帖子是:
var post = client.Get("732642713?fields=posts");
结果是:
{"name":"Name","id":"12432236"},"story":"Name is now friends with Name and 6 other.. etc etc.
我想要从这个字符串中得到的是:
Name is now friends with Name and 6 other not the name and stuff.
有什么想法吗?
【问题讨论】:
-
这是 JSON。使用 JSON 解析器,例如 JSON.NET