2011-11-01 42 views

回答

4

通過將apprequests對話框的「無摩擦」參數設置爲「1」,可以啓用無摩擦請求。例如;

// create a dictionary for our dialog's parameters 
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithCapacity: 7]; 

// set the frictionless requests parameter to "1" 
[params setObject: @"1" forKey:@"frictionless"]; 

// ... add other parameters ... 

// show the request dialog 
[facebook dialog:@"apprequests" andParams:params andDelegate: nil]; 

這也回答了Facebook IOS SDK Frictioless Requests

+0

這的確是這麼簡單。非常感謝,大衛! –