コード例 #1
0
ファイル: FB.cs プロジェクト: shaokang/facebook-sdk-for-unity
 /// <summary>
 /// Apps the request.
 /// </summary>
 /// <param name="message">The request string the recipient will see, maximum length 60 characters.</param>
 /// <param name="actionType">Request action type for structured request.</param>
 /// <param name="objectId">
 /// Open Graph object ID for structured request.
 /// Note the type of object should belong to this app.
 /// </param>
 /// <param name="to">A list of Facebook IDs to which to send the request.</param>
 /// <param name="data">
 /// Additional data stored with the request on Facebook,
 /// and handed back to the app when it reads the request back out.
 /// Maximum length 255 characters.</param>
 /// <param name="title">The title for the platform multi-friend selector dialog. Max length 50 characters..</param>
 /// <param name="callback">A callback for when the request completes.</param>
 public static void AppRequest(
     string message,
     OGActionType actionType,
     string objectId,
     IEnumerable <string> to,
     string data  = "",
     string title = "",
     FacebookDelegate <IAppRequestResult> callback = null)
 {
     FacebookImpl.AppRequest(message, actionType, objectId, to, null, null, null, data, title, callback);
 }
コード例 #2
0
 public static void AppRequest(
     string message,
     OGActionType actionType,
     string objectId,
     string[] to,
     string data  = "",
     string title = "",
     FacebookDelegate callback = null)
 {
     FacebookImpl.AppRequest(message, actionType, objectId, to, null, null, null, data, title, callback);
 }
コード例 #3
0
 public static void AppRequest(
     string message,
     string[] to               = null,
     string filters            = "",
     string[] excludeIds       = null,
     int?maxRecipients         = null,
     string data               = "",
     string title              = "",
     FacebookDelegate callback = null)
 {
     FacebookImpl.AppRequest(message, to, filters, excludeIds, maxRecipients, data, title, callback);
 }
コード例 #4
0
 /// <summary>
 /// Apps the request.
 /// </summary>
 /// <param name="message">The request string the recipient will see, maximum length 60 characters.</param>
 /// <param name="to">A list of Facebook IDs to which to send the request.</param>
 /// <param name="filters">
 /// The configuration of the platform multi-friend selector.
 /// It should be a List of filter strings.
 /// </param>
 /// <param name="excludeIds">
 /// A list of Facebook IDs to exclude from the platform multi-friend selector dialog.
 /// This list is currently not supported for mobile devices.
 /// </param>
 /// <param name="maxRecipients">
 /// Platform-dependent The maximum number of recipients the sender should be able to
 /// choose in the platform multi-friend selector dialog.
 /// Only guaranteed to work in Unity Web Player app.
 /// </param>
 /// <param name="data">
 /// Additional data stored with the request on Facebook, and handed
 /// back to the app when it reads the request back out.
 /// Maximum length 255 characters.
 /// </param>
 /// <param name="title">
 /// The title for the platform multi-friend selector dialog. Max length 50 characters.
 /// </param>
 /// <param name="callback">A callback for when the request completes.</param>
 public static void AppRequest(
     string message,
     IEnumerable <string> to         = null,
     IEnumerable <object> filters    = null,
     IEnumerable <string> excludeIds = null,
     int?maxRecipients = null,
     string data       = "",
     string title      = "",
     FacebookDelegate <IAppRequestResult> callback = null)
 {
     FacebookImpl.AppRequest(message, null, null, to, filters, excludeIds, maxRecipients, data, title, callback);
 }
コード例 #5
0
ファイル: FB.cs プロジェクト: JochemKlingeler/WordUp
 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)
 {
     FacebookImpl.AppRequest(message, actionType, objectId, null, filters, excludeIds, maxRecipients, data, title, callback);
 }