質問

How do you enable frictionless requests in the Facebook iOS SDK? I saw Ole Begemann's post that it now "just works", but I get the request dialog every time.

役に立ちましたか?

解決

Frictionless requests can be turned on by setting the "frictionless" parameter of the apprequests dialog to "1". For example;

// 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];

This also answers Facebook IOS SDK Frictioless Requests

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top