我與Facebook的APIiphone:無法創建URL
我試圖用這個ID爲「105502842870274」,以獲取圖像的屬性的工作,我試圖創建一個URL像這樣
NSString *[email protected]"https://graph.facebook.com/105502842870274?access_token=";
firstComponent=[firstComponent stringByAppendingFormat:[NSString stringWithFormat:@"%@",_accessToken]];
NSURL *url = [NSURL URLWithString:firstComponent];
但每次url傳遞爲零。
請讓我知道如果我做錯了什麼或建議其他方式來獲取圖像的屬性。
Thanx提前
林也面臨這樣的問題,問題似乎在於stringByAppendingFormat ...追加似乎想增加額外的東西 – 2011-06-02 11:29:17