• 0

Setup project to use Twitter4J


Question

Hey all! After getting some advice from fellow members I am using Twitter4J in my first program that's using an API. However I don't know how to set it up so that my program can use it!

I use eclipse and I created a new project for my program and I created a folder called Twitter4J in the projects main dir (this dir includes .settings,bin,src,.classpath and .project)

Inside the Twitter4J folder I have extracted twitter4j-2.2.6.zip. So the Tiwtter4J folders contain bin,lib,powered-by-badge,appenggine,core,exmaples etc)

I edited my Build path and added the Twitter4J folder under Source. (Right?)

I copied the file GetFollowersIDs into my default package (Is that what Im supposed to do?) and I get errors for the import and package lines in GetFollowersIDs. It's wants to me to create classes and stuff, I'm guessing my Build Path is wrong or something.

Can someone help me fix this?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

This topic is now closed to further replies.