I am trying to share a video to twitter but getting error Failed to search tweets: 403: – Twitter-api
I am using twitter4j-core-4.0.4.jar. This is my code ConfigurationBuilder builder = new ConfigurationBuilder(); builder.setUserStreamRepliesAllEnabled(true); builder.setOAuthConsumerKey("myConusmerKey"); builder.setOAuthConsumerSecret("myConsumerSecret"); AccessToken accessToken = new AccessToken(pref.getString("ACCESS_TOKEN", ""), pref.getString("ACCESS_TOKEN_SECRET", "")); Twitter twitter = new TwitterFactory(builder.build()).getInstance(accessToken); File file = new File(picturePath); StatusUpdate statusUpdate = new StatusUpdate(messageText.getText().toString()); Uri…