in Facebook.Unity/Mobile/IOS/IOSFacebook.cs [199:243]
public override void AppRequest(
string message,
OGActionType? actionType,
string objectId,
IEnumerable<string> to,
IEnumerable<object> filters,
IEnumerable<string> excludeIds,
int? maxRecipients,
string data,
string title,
FacebookDelegate<IAppRequestResult> callback)
{
this.ValidateAppRequestArgs(
message,
actionType,
objectId,
to,
filters,
excludeIds,
maxRecipients,
data,
title,
callback);
string mobileFilter = null;
if (filters != null && filters.Any())
{
mobileFilter = filters.First() as string;
}
this.iosWrapper.AppRequest(
this.AddCallback(callback),
message,
(actionType != null) ? actionType.ToString() : string.Empty,
objectId != null ? objectId : string.Empty,
to != null ? to.ToArray() : null,
to != null ? to.Count() : 0,
mobileFilter != null ? mobileFilter : string.Empty,
excludeIds != null ? excludeIds.ToArray() : null,
excludeIds != null ? excludeIds.Count() : 0,
maxRecipients.HasValue,
maxRecipients.HasValue ? maxRecipients.Value : 0,
data,
title);
}