public void AppRequest(string message, FB_RequestActionType actionType, string objectId, List <object> filters = null, string[] excludeIds = null, int?maxRecipients = null, string data = "", string title = "") { if (!IsLoggedIn) { Debug.LogWarning("Auth user before AppRequest, fail event generated"); FB_AppRequestResult r = new FB_AppRequestResult("", "User isn't authed"); OnAppRequestCompleteAction(r); return; } FB.AppRequest(message, actionType, objectId, filters, excludeIds, maxRecipients, data, title); }
public void AppRequest(string message, FB_RequestActionType actionType, string objectId, string[] to, string data = "", string title = "") { if (!IsLoggedIn) { Debug.LogWarning("Auth user before AppRequest, fail event generated"); FB_AppRequestResult r = new FB_AppRequestResult("", "User isn't authed"); OnAppRequestCompleteAction(r); return; } FB.AppRequest(message, actionType, objectId, to, data, title); }
private OGActionType ConvertActionType(FB_RequestActionType actionType) { switch (actionType) { case FB_RequestActionType.AskFor: return(OGActionType.AskFor); case FB_RequestActionType.Send: return(OGActionType.Send); } return(OGActionType.AskFor); }
private OGActionType ConvertActionType(FB_RequestActionType actionType) { switch (actionType) { case FB_RequestActionType.AskFor: return(OGActionType.ASKFOR); case FB_RequestActionType.Send: return(OGActionType.SEND); case FB_RequestActionType.Turn: return(OGActionType.TURN); } return(OGActionType.ASKFOR); }
public void AppRequest(string message, FB_RequestActionType actionType, string objectId, List <object> filters = null, string[] excludeIds = null, int?maxRecipients = null, string data = "", string title = "") { #if FBV7_API_ENABLED FB.AppRequest(message, ConvertActionType(actionType), objectId, filters, excludeIds, maxRecipients, data, title, AppRequestCallback); #endif }
public void AppRequest(string message, FB_RequestActionType actionType, string objectId, string[] to, string data = "", string title = "") { #if FBV7_API_ENABLED FB.AppRequest(message, ConvertActionType(actionType), objectId, to, data, title, AppRequestCallback); #endif }
public void AppRequest(string message, FB_RequestActionType actionType, string objectId, List<object> filters = null, string[] excludeIds = null, int? maxRecipients = null, string data = "", string title = "") { #if FBV7_API_ENABLED FB.AppRequest(message, ConvertActionType(actionType), objectId, filters, excludeIds, maxRecipients, data, title, AppRequestCallback); #endif }
public void AppRequest(string message, FB_RequestActionType actionType, string objectId, string[] to, string data = "", string title = "") { #if FBV7_API_ENABLED FB.AppRequest(message, ConvertActionType(actionType), objectId, to, data, title, AppRequestCallback); #endif }
private OGActionType ConvertActionType(FB_RequestActionType actionType) { switch(actionType) { case FB_RequestActionType.AskFor: return OGActionType.ASKFOR; case FB_RequestActionType.Send: return OGActionType.SEND; case FB_RequestActionType.Turn: return OGActionType.TURN; } return OGActionType.ASKFOR; }
private OGActionType ConvertActionType(FB_RequestActionType actionType) { switch(actionType) { case FB_RequestActionType.AskFor: return OGActionType.AskFor; case FB_RequestActionType.Send: return OGActionType.Send; } return OGActionType.AskFor; }