Facebook Java library error

K

keith73

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.
 
V

vojimir.golem

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.

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/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top