Twitter-API-v2-sample-code icon indicating copy to clipboard operation
Twitter-API-v2-sample-code copied to clipboard

Java Code samples are broken

Open suyashcjoshi opened this issue 5 years ago • 4 comments

Describe the bug Java code samples don't work

To Reproduce Try running any of the Java code samples locally, they are full of errors - syntax error, logical error. Don't anyone at Twitter know how to write a good Java Program, can't believe it. Twitter is supposed to be a huge Java shop.

Expected behavior try to compile java program - any of them for example inside of "Tweet-Lookup" folder, run javac get_users.java and see what happens. Can't believe you guys don't even know how to name java classes and programs?

Additional context I've forked the repo and started to fix your bugs, will submit a PR soon 😑🔫

suyashcjoshi avatar Aug 25 '20 00:08 suyashcjoshi

https://github.com/suyashjoshi/Twitter-API-v2-sample-code - see 'diff' for changes so far.

suyashcjoshi avatar Aug 25 '20 01:08 suyashcjoshi

@suyashjoshi make Pull Request

paulvi avatar Aug 18 '21 08:08 paulvi

I added my changes for Java as #43, see https://github.com/paulvi/Twitter-API-v2-sample-code

paulvi avatar Aug 18 '21 11:08 paulvi