private bool isTweetReply(cTweet vTweet, ulong vQuestionTweetID) { bool reply = false; ulong replyToStatusID = (ulong)vTweet.getReplyToStatusID(); if (replyToStatusID == (ulong)vQuestionTweetID) { reply = true; System.Diagnostics.Debug.WriteLine("Validating tweet: " + vTweet.getID().ToString()); System.Diagnostics.Debug.WriteLine("This tweet is a reply to: " + vTweet.getReplyToStatusID().ToString()); } return(reply); }
private bool isTweetReply(cTweet vTweet, ulong vQuestionTweetID) { bool reply = false; if (vTweet.getReplyToStatusID() != null) { ulong replyToStatusID = (ulong)vTweet.getReplyToStatusID(); if (replyToStatusID == (ulong)vQuestionTweetID) { reply = true; System.Diagnostics.Debug.WriteLine("Question Reply Found. This tweet is a reply to: " + vTweet.getReplyToStatusID().ToString()); } } return(reply); }