We have a very strange scenario. If I log in as handle ad_bluerobot (or any handle except @janbraai) and I browse this URL: https://twitter.com/ChadToerien/status/646359993516736512 I cannot see the Reply to the Tweet (it is hidden but it definately exists), additionally the user @ChadToerien also cannot see the reply nor did he get a notification of the reply to his Tweet. However, if I log in as @janbraai (the person who replied) I can see the Reply Tweet (full conversation) in the exact same URL posted above.
The Tweet was posted using the Public REST API with the following code in twitter4j:
// pollTweet is just a POJO with the context (info about the original Tweet and the Authorised User final StatusUpdate statusUpdate = new StatusUpdate(tweetText); statusUpdate.inReplyToStatusId(pollTweet.getTweetId()); // makeTwitter is just a method to build the Twitter object from the configuration. final Twitter twitter = TwitterUtils.makeTwitter(pollTweet.getToken(), pollTweet.getTokenSecret(), true); // There is some text I removed here to upload the media which I don't think is completely relevant to this question Status status = twitter.updateStatus(statusUpdate);
I know that the above code is using twitter4j and I know that this forum is not for support of the Java Library, but I don’t need support on that. I have been using twitter4j for over 4 years and despite using code similar to the above I have never encountered this strange hidden Tweet anomily. I have been debugging this issue now for 3 days and I have concluded that there must be something about the Users or the Tweets themselves that I need some incite on from someone who may have encountered this before, or from a Twitter staff member who knows what is hapening behind the scenes. In the above code I have already double checked that the correct Token and TokenSecret was used. I also checked that the correct TweetId was being set in “inReplyToStatusId”.
None of the accounts mentioned above have any specific security settings enabled. Interestingly enough, this only seems to happen to certain accounts. @ChadToerien is an good example of an account where there is a missing/hidden reply. BUT here is an example where everything is working correctly despite the Reply being created with exactly the same code as above: https://twitter.com/Mel_Bender/status/646424095391883264
Here is another example of the hidden Tweets. In this example, StevenEdge13 Replied to a Tweet and then His Reply also Received a Reply - there are two hidden Tweets: https://twitter.com/StevenEdge13/status/645900784115281920
Yet, the only way I can view the full conversation is by logging in as @janbraai (the creater of the hidden Tweets) - yet there are no protection/security settings enabled on the account.
Please can someone explain why this is happening and what I need to do to resolve it? Or at least give me some ideas on moving forward in solving this?
P.S. - you may need to use the REST API just to see what I am talking about above since you are unable to log in as @janbraai to see the hidden Tweets. The Tweets are most certainly all visible using the REST API regardless of who you are logged in as.