Sign in to follow this  
Followers 0

java Setup project to use Twitter4J


3 posts in this topic

Posted

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?

Share this post


Link to post
Share on other sites

Posted

Please!

Share this post


Link to post
Share on other sites

Posted

try and follow this and see if it works

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.