in Facebook.Unity/Mobile/Android/AndroidFacebook.cs [290:334]
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);
MethodArguments args = new MethodArguments();
args.AddString("message", message);
args.AddNullablePrimitive("action_type", actionType);
args.AddString("object_id", objectId);
args.AddCommaSeparatedList("to", to);
if (filters != null && filters.Any())
{
string mobileFilter = filters.First() as string;
if (mobileFilter != null)
{
args.AddString("filters", mobileFilter);
}
}
args.AddNullablePrimitive("max_recipients", maxRecipients);
args.AddString("data", data);
args.AddString("title", title);
var appRequestCall = new JavaMethodCall<IAppRequestResult>(this, "AppRequest");
appRequestCall.Callback = callback;
appRequestCall.Call(args);
}