Skip to content
Advertisement

Tag: twitter4j

Incorrect twitter API credentials with Twitter4j

I am trying to create a simple twitter desktop app with Java and Twitter4j, however after clicking the send tweet button, I am greeted with an unable to authenticate message, I’m fairly certain my credentials are correct, so is there a possibility that the credentials are not being read correctly from the password fields? If so, how might I fix

how to remove Arabic hashtags?

I am polling tweets from twitter using Twitter4j and I am trying to filter hashtags from it after I take text from it I turn it into strings now I have this String: “892698363371638784:RT @hikids_ksa: اللعبة خطيرة مرا ويبي لها مخ و تفكير و مهارة👌🏻💡 متوفرة في #متجر_هاي_كيدز_الالكتروني ..” I want to remove متجر_هاي_كيدز_الالكتروني as it has Hashtag after it

Advertisement