我将这个答案留给以后的搜索。
我终于找到了问题所在。翻遍FB类,发现出现这种错误的方法改成了:
public static void AppRequest(
string message,
OGActionType actionType,
string objectId,
List<object> filters = null,
string[] excludeIds = null,
int? maxRecipients = null,
string data = "",
string title = "",
FacebookDelegate callback = null)
public static void AppRequest(
string message,
string[] to = null,
List<object> filters = null,
string[] excludeIds = null,
int? maxRecipients = null,
string data = "",
string title = "",
FacebookDelegate callback = null)
public static void AppRequest(
string message,
OGActionType actionType,
string objectId,
string[] to,
string data = "",
string title = "",
FacebookDelegate callback = null)
我错过了一些看起来像 facebook 需要创建格式良好的 url 的参数。最后像下一个一样发送一个apprequest,一切正常。
FB.AppRequest(
"Agregar amigos",
null,
"",
null,
"{}",
"Amigo invisible",
appRequestCallback
);