Facebook Graph API结果检索

时间:2010-06-24 05:11:54

标签: objective-c iphone facebook facebook-graph-api

当我们在Facebook中使用Graph API时,结果将采用以下格式。是否有一个方便的类可以在iPhone中检索它们?

JSON解析器?

{
    "type": "audiotrack"
    "name": "Without Me - Eminem",
    "metadata": {
        "trackinfo": {
            "title":  "Without Me",
            "artist": "Eminem",
            "album":  "Curtain Call - The Hits"
        }
        "trackdata": {
            "kind":       "MPEG",
            "size":       "6.3 MB",
            "bitrate":    "179 kbps",
            "samplerate": "44.100 khz",
            "released":   "14400",
            "formato:     "MPEG-1, Layer 3",
            "channels":   "Joint Stereo",
            "id3tag":     "v2.3",
            "encodedby":  "LAME 3.90"
        }
    }
}

1 个答案:

答案 0 :(得分:0)

我在 Tutorial: JSON Over HTTP On The iPhone 中找到了答案。