/// <summary> /// Show Twitter composer /// <param name="session">User’s session from Login</param> /// <param name="imageUri">uri of image to include in tweet</param> /// <param name="text">text to tweet to pre-fill</param> /// <param name="hashtags">hashtags to pre-fill</param> /// <param name="successCallback">Callback to call on success</param> /// <param name="failureCallback">Callback to call on failure</param> /// <param name="cancelCallback">Callback to call on cancel</param> /// </summary> public static void ComposeWithVideo(TwitterSession session, String videoUri, String text, string[] hashtags = null, Action <string> successCallback = null, Action <ApiError> failureCallback = null, Action cancelCallback = null) { twitterGameObject.GetComponent <TwitterComponent> ().tweetSuccessAction = successCallback; twitterGameObject.GetComponent <TwitterComponent> ().tweetFailureAction = failureCallback; twitterGameObject.GetComponent <TwitterComponent> ().tweetCancelAction = cancelCallback; twitter.ComposeWithVideo(session, videoUri, text, hashtags); }