File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes FaceBook API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "FaceBook API" Watch "FaceBook API" New topic

FaceBook API

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208

Anyone know where there is sample code or a tutorial on how to develop an app to connect to FaceBook to upload pictures?

What i'm trying to do is:
- create a class to log in to FaceBook using a user name and password
- upload a picture to my face book account

but it seems like you have to go to the facebook website to log in the whole time and i want to log in automatically via code

any help with this would be brilliant

Thanks in advance

Niklas Rosencrantz
Ranch Hand

Joined: Apr 08, 2006
Posts: 49
HtmlUnit or HttpUnit achieves it. The following uploads a file to the account of :

[ August 23, 2007: Message edited by: Niklas Rosencrantz ]
I agree. Here's the link:
subject: FaceBook API
jQuery in Action, 3rd edition