0

There are a lot of forums asking to get medias from twitter but how to do the opposite? I want to get only the tweets which do not contain any image/video/url. If found those tweets just skip and search for the next because I want to display a full text without "http://t..." thing at the end. I put this in ...

    cb.setIncludeEntitiesEnabled(false); 

but, was not sure I did it right. Also, I write this code in Processing library but in Eclipse so I guess if you can show me the way in Java I will be fine, but a complete example please. I am very new to Java.

However, I have seen some people say about "filter=image" in tweet method but, I could not figure it out where to put this in. I have tried and fail.

Any suggestion? --Thanks in advance.

TeeTee
  • 65
  • 2
  • 11

1 Answers1

0

Stack Overflow isn't really designed for general "how do I do this" type questions. It's for specific "I tried X, expected Y, but got Z instead" type questions. Please try to be more specific. Saying "I could not figure it out where to put this in" doesn't really tell us anything. Where exactly did you try to put it? What exactly happened when you tried that? Can you please post a MCVE?

That being said, the best thing you can do is Google something like "twitter4j filter out images" or "twitter4j exclude images". More info:

Please try something and post a MCVE in a new question post if you get stuck. Good luck.

Kevin Workman
  • 41,537
  • 9
  • 68
  • 107