Jump to content



Photo

Setup project to use Twitter4J

java twitter twitter4j api

  • Please log in to reply
2 replies to this topic

#1 thatguyandrew1992

thatguyandrew1992

    Neowinian Senior

  • Tech Issues Solved: 3
  • Joined: 22-January 09

Posted 22 July 2012 - 22:20

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?


#2 OP thatguyandrew1992

thatguyandrew1992

    Neowinian Senior

  • Tech Issues Solved: 3
  • Joined: 22-January 09

Posted 23 July 2012 - 20:45

Please!

#3 paxa

paxa

    Neowinian

  • Joined: 04-June 04
  • Location: so far away....nearly in the end of the world

Posted 25 July 2012 - 23:32

try and follow this and see if it works