Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

Facebook Java library error

Thread view: 
keith73 - 08 Jun 2007 15:59 GMT
Has anybody tried the Facebook Java library?

I have it in a project in Eclipse using Maven. I get this error when
trying to build the project.

C:\development\projects\workspace-3.2\foo\src\main\java\com\facebook
\api\FacebookRestClient.java:[811,50] incompatible types
found   : org.json.JSONStringer
required: org.json.JSONWriter

this is the line in question:
JSONWriter tagsJSON = new JSONStringer().array();

This doesn't seem to be a problem for anyone else as I have done
multiple searches for this problem and found nothing relevant.

I'm on WinXP using Eclipse 3.2.2, Java compiler is set to 5.0, maven
version is 2.0.6

thank you.
vojimir.golem@gmail.com - 20 Jun 2007 17:24 GMT
> Has anybody tried the Facebook Java library?
>
[quoted text clipped - 16 lines]
>
> thank you.

I'm using Eclipse 3.2.2 with Java 5.0 with no problem.
Here is a screencast that shows Facebook Client Library in Eclipse
project:
http://www.thescreencast.com/2007/06/getting-started-with-facebook-platform.html
Maybe it is a incompatibility with Maven libraries.

Vojko
http://www.thescreencast.com/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.